Coder Social home page Coder Social logo

Comments (9)

pathawks avatar pathawks commented on May 18, 2024

Is there any prior art here?

Do any of the importers import any language information, either per post or per site?

Is there any existing convention for specifying this information?

from jekyll-feed.

XhmikosR avatar XhmikosR commented on May 18, 2024

Only the specs as far as I can tell. language is a per channel element.

from jekyll-feed.

pathawks avatar pathawks commented on May 18, 2024

But, because it XML, any element can have an xml:lang attribute.

from jekyll-feed.

XhmikosR avatar XhmikosR commented on May 18, 2024

That is true, but the specs don't mention anything about each element. So it should be a per channel sub-element.

from jekyll-feed.

pathawks avatar pathawks commented on May 18, 2024

Is there any prior art here at all? Are there any i18n Jekyll plugins/workflows that set language information anywhere?

from jekyll-feed.

parkr avatar parkr commented on May 18, 2024

Are there any i18n Jekyll plugins/workflows that set language information anywhere?

@pathawks There are a number of i18n plugins for Jekyll out in the wild. Octopress's Multilingual is the only one whose development I have followed. https://github.com/octopress/multilingual

from jekyll-feed.

pathawks avatar pathawks commented on May 18, 2024

I don't see any language element in the Atom spec, but <feed> could have an xml:lang set to {{ site.lang }}, if present. Each <entry> could also have an xml:lang set to {{ post.lang }}. All links could also include hreflang if we can reasonably figure out the language of the resource the link points to.

Would this be reasonable/sufficient? Are there any great examples of feeds from multilingual sites that properly include language information to look to as an example?

from jekyll-feed.

pathawks avatar pathawks commented on May 18, 2024

This has been fixed by #75

from jekyll-feed.

XhmikosR avatar XhmikosR commented on May 18, 2024

Thanks! Any chance for a new release?

from jekyll-feed.

Related Issues (20)

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.