RSS feed: to feed images to your rss - rss

I have searched around online about feed images to your rss feed. it seems not very popular. is it correct to use to feed images?
for instance,
<enclosure url="http://images.productserve.com/thumb/547/680654.jpg" type="image/jpeg" length="3241"/>
what is the length in the enclosure elementy?

The enclosure tag is pretty popular for things like podcasts (so, audio files) but I haven't seen it used for images often.
length describes the file size in bytes, so it's up to you to pragmatically get that for each image you attach.
More info: http://en.wikipedia.org/wiki/RSS_enclosure

Related

Why are changes in my RSS feed not picked up by RSS readers?

I am trying to add an RSS feed to my website embeetle.com. I am doing this "the hard way" by manually creating an XML file for the RSS feed. You can find it here: https://embeetle.com/rss.xml. The file has been validated using the W3 feed validator at https://validator.w3.org/feed/check.cgi?url=embeetle.com
The problem I have is that the RSS readers I tried are not displaying the most recent content of my RSS feed. I tried Feedly, Inoreader and NewsBlur. All of them are showing older versions of the feed, as if these are cached somewhere, and the cache is not updating (I waited 24 hours to make sure).
I guess I am doing something wrong here, but I have no clue what. I have been trying to find hints searching the web for hours. Any hints are welcome.
If you want to check: there should be two posts in the feed, one announcing our new RSS feed and one announcing the latest version of Embeetle. In the readers, I get only the second post, sometimes with out-of-date content.

Scraping youtube video with R, is it possible?

I would like to scrape / download youtube videos directly from youtube using R. So to clarify, I'm not interested in the meta data, video titles, or comments as much as the video itself (be it formated as a video or audio file).
Is this possible? And if so, is it legal? I cannot think of a reason why it shouldn't be, given that there exist tools with which one can download single youtube videos as audio files and given also that material published on youtube and openly accessible are literally exactly that: openly accessible and available.
I had a look at {tuber} and {Rselenium} but that is only good for retrieving meta data, not the actualy video or audio content.
Any experiences or suggestions?

RSS feed reader compatible with arxiv

Is there any RSS feed reader that is compatible with Arxiv rss feeds which have the annoyance of using html tags for authors? So I want a reader that does not display the author as <a href="http://arxiv.org/find/quant-ph/1... but rather author's name, I do not really care about the link. I tried outlook, Rssowl, various plugins chrome extensions but either the extensions are clumsy or they cannot handle the html tags in author. I prefer a program, not some web site rss feed reader.
The Vienna RSS reader appears to display the author's name correctly. (Tested with Vienna 3.1.4 on the arxiv.org cs updates feed).
link to Vienna on github
I'm doing fine with feedly. Although it doesn't evince the problem you describe, it does have the failing that it doesn't interpret LateX. (But no RSS feeder will.)
feeder (f-droid) seems to work with arxiv
spaRSS fails
QuiteRSS is able to parse the information correctly.
Note also that instead of using the url http://export.arxiv.org/rss/hep-ph (for example), you can try to use http://export.arxiv.org/api/query?search_query=(cat:hep-th)&sortBy=lastUpdatedDate&sortOrder=descending&max_results=200, with the flags adjusted as you desire. Note that I haven't confirmed that the two feed outputs are identical (i.e. nothing falls through the cracks). The second option is just arXiv search results in an RSS-like format

RSS feed link doesn't open up reader or just dumps out raw XML

I developed an RSS feed following a tutorial and I think the .xml file itself is in order. However, I have two problems:
When people click on the RSS link, it doesn't automatically load into their RSS readers
For those that don't have an RSS reader, clicking the link results in a page full of code which is not very understandable
I was hoping that there might be some tips on how to easily realize this.
Try to remove the <![CDATA[ and ]]> in the description tag.
I downloaded your xml, changed those lines, tested it on my server, and it worked in google's rss reader.
This is a browser and user profile dependent issue in how the RSS link is going to react when clicked on.
If the user has the action set up to automatically load it into their feed reader of choice, it will do that.
If they don't, then it won't.
For those that just see a raw dump, it could be that they're using a browser that does not support RSS feeds and will dump out the XML as raw text. Google Chrome (at least still in version 18) without the use of extensions or add-ons will usually be the dump truck culprit here.

How to play audio podcast file from libsyn rss feed? (drupal)

Got an established libsyn rss feed, got a new drupal website for the podcast. Libsyn provides a player but not correct aesthetic. I can upload and play mp3 files with audio module and mp3player module, and like the mp3 player's output, a simple flash player, but I don't want to be manually moving the podcast audio files (mp3) over every week. Looked at importing automatically with Feeds, but it's not working and besides that's creating extra files unnecessarily on the drupal site.
Just want to use the mp3player modulee's flash player in a drupal page, which feeds the latest mp3 file from a libsyn rss feed. Don't really need to store or play multiple episodes, just the latest episode.
How would you do it?
Create a content type for my podcasts with a title and a field for the URL of the MP3
Use FeedAPI and map the title to the title of the node
Map the file URL to the URL field
Use Contemplate to set the URL field to display as [swf file="token_for_URL_field"], which will use the SWF Tools module and whatever player I've selected to play the file
So you need these modules CCK, Contemplate, FeedAPI, and SWF Tools, and that should do the trick.
Why don't you have your own site be the master and libsyn get it from you? Do they not allow an import feature, with which you'd keep your existing RSS through them. Then you can have total control over your site and push the content to all kinds of other great podcasting networks.
Realize I may have no idea about libsyn works.
When you say feeds didn't work, how did it fail? Are you using feed mapper? You may need to write a custom plug-in for feed mapper to get it to do the right thing with the video files. Feed api supports expiring imported feed items so you should be able to get it to automatically delete old ones. I'm not sure whether the video files will be automatically deleted when the nodes are. If not, you should be able to make this happen by implementing nodeapi's delete op for the content type you are using to store your imported rss items.
Alternatively, maybe you could just harvest the video's url on libsyn, and have the player use that. I don't know whether there's a good player which supports using a field's data for the location of the source it should play.
Also, if you haven't already, I'd encourage you to post your question on groups.drupal.org since that's read by lots of drupal experts.

Resources