Giter VIP home page Giter VIP logo

ibexa-seo-toolkit's People

Contributors

ahmed-bhs avatar ahmedebn avatar alexsoyes avatar axel-veber-beclood avatar axelveber avatar codein-labs avatar meryllessig avatar meryllessigcodein avatar mrk-te avatar rudycodein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ibexa-seo-toolkit's Issues

Handle "non-string" metadata field types

Can we provide a solution to source metadata from "non-string" field types like boolean or image ?

Two use cases :

  • Boolean field to add a "robots noindex, nofollow" tag by checking a box. Might be "multiple" like one checkbox for "index", one for follow
  • Render an ezimage field with the configured alias as an og:image meta tag

Default pattern not working for field types other than ezstring

I 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

Sitemap unavailable if an image field is corrupted

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.

Content translation support

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.

Upgrade to Ibexa 3.3.16

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.                     

Install with Ibexa 3.3.31

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.