News for hackers. Stuff that matters.
Re:It's time to head back to RSS? by hokus on Sunday April 01, 2018 @02:06PM (#16729596)
Don't forget to just ask! I usually include a minimal RSS feed example in the email along with some bare basics explaintion. Works surprisingly well. Webmasters care?!

<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0">

<channel>

<title>itakedrugs</title>

<description>The takings of drugs</description>

<link>http://www.itakedrugs.ninja</link>

<item>

<title>The weed</title>

<description>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</description>

<link>http://www.itakedrugs.ninja/the-weed</link>

<pubDate>Sun Apr 01 2018 15:51:07 GMT+0200 (CEST)</pubDate>

</item>

<item>

<title>Coffeeee</title>

<description>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</description>

<link>http://www.itakedrugs.ninja/coffeeee</link>

<pubDate>Sun Apr 01 2018 14:00:03 GMT+0200 (CEST)</pubDate>

</item>

</channel>

</rss>

Its just a text file. You can have as many items as you like, all parts speak for themselves except perhaps the time stamp[0]

The pubDate is optional but a lot of rss aggregators don't know what to do without it.

[0] - https://tools.ietf.org/html/rfc3339

There are no comments on this comment yet.