Is mathml allowed in an rss or atom feed? - rss

Is mathml allowed in a rss or atom feed? I realize this might not be supported in all feed readers but is this at least the theoretically right thing to do to display math in a feed?

Related

How to Make anypage a RSS feed Free?

I wanted to import this as an RSS feed on my website http://www.huffingtonpost.com/news/yoga/ but it is not an RSS feed.
Huffington post does have RSS feeds but they are so broad. I want one just about yoga. I see there are sites that do it but you have to pay for it.
I just want to get the title, small description, and link back url like most rss feeds.
As of 2021 rss.app seems to be quite comperensive service for transforming websites to rss feeds: https://rss.app/
Deprecated information:
I tried a few services and the best results (=ease of use and good
looking rss feed) I got with Kimono. They
support JSON, CSV and
RSS results or you can
embed the feed
on your site and they even have a Wordpress
plugin. Here is the API
feed I created if you want to try (requires login):
https://www.kimonolabs.com/apis/3qhk4fyq
Other services that I quickly tried are Feed43
and Page2rss. Those seem usable, but also a
bit difficult to use or limited in features.
Superfeedr also allows
subscribing to
html elements, but requires more skill to get something working out of
it.
All of those services are free or offer free plans with limited features.

What formatting can RSS readers reliably interprete?

Im making a normal RSS feed for my website. I need to include simple html formatting in the description eg paragraphs, line breaks, lists, etc. To do this I need to wrap the description content as CDATA.
The issue with this is that when I validate my feed the content of the CDATA is ignored. So although the feed validates, I dont actually know if everything is ok or not.
How can I find out what markup will likely be read ok by the various RSS readers?
Can I use whatever markup I would happily put in a website? How about inline styles? Or is more like designing html emails? Thanks
RSS files are XML Formatted plain text, I think that's the only standard you can rely upon.
I think most Syndicators look like they're handling HTML in RSS as they simply download the linked article when you choose the header.
If you're looking to embed rich content, then you may well be better investigating Atom instead of RSS.
Have a look at this S/O question: Which is better for encoding HTML for RSS?

Why do Google News feeds have such strange structure?

I'm trying to incorporate a google news feed in my website (Using the built-in SimplePie functionality of WordPress).
However, the default feed gets rendered in a strange table structure. Sure enough, when I inspect the feed XML, I see that Google News has a whole bunch of table html as its 'description' element, complete with embedded styles, etc (See this example)- essentially dictating how the feed must be displayed, and not allowing for any effective css based customization.
This seems really dumb- can anyone help explain what is going on, or at least agree with me that this is just a terrible feed architecture?
Feeds often include html tags, as many (most?) readers will handle and use them, and that way the RSS provider can have some nice looking output in the reader, as you've guessed. (I prefer flagging it as CDATA unless it's proper xhtml, as it's not valid xml/rss otherwise). It's not in the original spirit of RSS perhapts, but the Google feed is just an extreme example of common practice. As per your problem, does strip_htmltags help (simplepie.org/wiki/reference/simplepie/strip_htmltags)?

How can I apply my CSS stylesheet to an RSS feed

On my blog I use some CSS classes which are defined in my stylesheet, but in RSS readers those styles don't show up. I had been searching for class="whatever" and replacing with style="something: something;". But this means whenever I modify my CSS I need to modify my RSS-generating code too, and it doesn't work for a tag which belongs to multiple classes (i.e. class="snapshot accent"). Is there any way to point to my stylesheet from my feed?
The popular RSS readers WILL NOT bother downloading a style sheet, even if you provide one and link to it using <?xml-stylesheet?>.
Many RSS readers simply strip all inline style attributes from your tags. From testing today, I discovered that Outlook 2007 seems to strip out all styles, for example, even if they are inline.
Good RSS readers allow a limited set of inline style attributes. See, for example, this article at Bloglines about what CSS they won't strip. From experimentation, Google Reader seems to pass through certain styles unharmed.
The philosophy of RSS is indeed that the reader is responsible for presentation. Many people think that RSS should be plain text and that CSS in RSS feeds is inappropriate. It's probably not appropriate to impose a different font on your RSS feeds. However, certain types of content (for example, images floated on the left, with captions positioned carefully) require a minimal amount of styling in order to maintain their semantic meaning.
The point of RSS is to be display agnostic. You should not be putting style attributes on your feed.
I found this blog post that describes how to add style to your RSS feed.
Because RSS is (supposed to be) XML, you can use XML stylesheets.
http://www.w3.org/TR/xml-stylesheet/
The purpose of an RSS feed is to allow the easy transmission of content to places outside your site. The whole idea is that the content within the feed is format-free, so that it can be read by any piece of software. The program that is reading the your feed is in charge of how to present it visually. For example, if you had a website that read RSS, you would want to parse the feed into HTML, and style it that way. However, if you were building a desktop application to read the feed, you would implement the formatting quite differently.

Include one RSS feed in another, possible? How?

I'm using JAlbum to create my webalbum and since version 8.1 JAlbum supports RSS feeds of the albums. However the RSS feeds generated by JAlbum do not work for albums containing a hierarchy of folders. What they try to do in the RSS feeds is to include the RSS feeds of the subfolders by including a element (see example below). This does not work in NetNewsWire and GoogleReader and feedvalidator.org also reports warnings on this. It is possible to change the RSS template used by JAlbum to generate the RSS feed. I'm trying to fix this (and other) problems, but really doubt if it is possible at all to refer from one RSS feed to another and have the entries of the sub feed be included in the main feed.
Is it possible to included RSS feeds in another feed? How? (Could not find examples and did not get responses on the JAlbum forum yet.)
If it's not possible I'll take another approach, but it feel quite nice if it would be possible to create a feed per folder and have the parent folder include the feeds of the subfolders by simply referring to it.
<channel>
<title>test</title>
<link>.</link>
<generator>Jalbum 8.1</generator>
<description></description>
<jalbum:link rel="sub" href="aaa/album.rss" />
</channel>
Regards,
Gero
You can probably achieve what you are looking for using Yahoo Pipes. It has facilities for manipulating and combining feeds. With a bit of trial and error you can do some pretty sophisticated things with it.

Resources