codein-labs / ibexa-seo-toolkit Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Can we provide a solution to source metadata from "non-string" field types like boolean or image ?
Two use cases :
ezimage
field with the configured alias as an og:image
meta tagI have the following configuration :
description:
label: 'Description'
default_pattern: '<meta_description>'
meta_description
is a text block instead of a text line
If I had a default description
to the content type then the field value of meta_description
is never used
We must take a look to recent failed checks and fix the code style.
The sitemap lists all the content on the site.
If one of the contents has a corrupted image (referenced in the database but not on the from the file system), the exception raised by the retrival of the original image (bundle/Service/SitemapContentService.php:211) breaks the entire sitemap (400 Bad request).
The sitemap shouldn't break. The "image:image" nodes should be removed for the concerned contents.
Looking at bundle/Twig/CodeinIbexaSeoExtension.php:77
, meta content extraction seems to be based on the mainLanguageCode
$mainLanguageCode = $content->getVersionInfo()->getContentInfo()->mainLanguageCode;
Is this the right approch in a multilingual context.
After upgrading Ibexa from 3.3.12 to 3.3.16 including the following yarn packages , the post-install-cmd
throws an error
"@symfony/webpack-encore": "^1.7.0",
"@babel/preset-react": "^7.0.0",
"core-js": "^3.0.0",
"regenerator-runtime": "^0.13.2",
"webpack-notifier": "^1.6.0",
"react-collapsible": "^2.5.0",
"sass": "^1.49.7",
"sass-loader": "^12.5.0",
"file-loader": "^6.0.0"
The error occurs while running bazinga:js-translation:dump %PUBLIC_DIR%/assets --merge-domains
and looks like
!! [webpack-cli] Failed to load '/app/ezplatform/webpack.config.js' config
!! [webpack-cli] Error: ENOENT: no such file or directory, scandir '/app/ezpla
!! tform/public/assets/translations'
!! at Object.readdirSync (fs.js:1047:3)
!! at Object.<anonymous> (/app/ezplatform/vendor/codein/ibexa-seo-toolkit/
!! bundle/Resources/encore/codein.js.config.js:9:4)
!! at Module._compile (internal/modules/cjs/loader.js:1085:14)
!! at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:1
!! 0)
!! at Module.load (internal/modules/cjs/loader.js:950:32)
!! at Function.Module._load (internal/modules/cjs/loader.js:790:12)
!! at Module.require (internal/modules/cjs/loader.js:974:19)
!! at require (internal/modules/cjs/helpers.js:93:18)
!! at Object.<anonymous> (/app/ezplatform/vendor/codein/ibexa-seo-toolkit/
!! bundle/Resources/encore/ez.config.js:2:22)
!! at Module._compile (internal/modules/cjs/loader.js:1085:14) {
!! errno: -2,
!! syscall: 'scandir',
!! code: 'ENOENT',
!! path: '/app/ezplatform/public/assets/translations'
!! }
!! error Command failed with exit code 2.
Got an error on a dependency :
In DefinitionErrorExceptionPass.php line 54:
Cannot autowire service "Codein\IbexaSeoToolkit\Service\SitemapContentService": argument "$fieldHelper" of method "__construct()" references class "eZ\Publish\Core\Helper\FieldHelper" b
ut no such service exists. You should maybe alias this class to the existing "ezpublish.field_helper" service.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.