Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Atom output, so we can include atom:summary #8

Open
Athanasius opened this issue Sep 15, 2017 · 0 comments
Open

Switch to Atom output, so we can include atom:summary #8

Athanasius opened this issue Sep 15, 2017 · 0 comments

Comments

@Athanasius
Copy link
Owner

Once the output is using fulltext in the <description> element it may be useful to consumers to have an <atom:summary> element containing the old precis text.

Note that the W3C validator tells you off for using <atom:content>, advising instead to just stick to <description> so that doesn't need to change.

Unfortunately the perl module XML::RSS currently used for the feed output doesn't have very good support for atom elements. We can put an <atom:summary> element in, but can't set an attribute type="html" which is necessary because we're embedding encoded HTML in it. If nothing else there's the 'see more' <a href="..."/> we put in.

So this would entail finding a different perl module for Atom output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant