HOMEPUBLISH TOOLRSS Feed Sample

RSS Feed Sample

Circleboom supports RSS 0.91, 0.92, 1.0, 2.0 and ATOM to download and process your website's feeds.

Required elements:

  • <title>
  • <link>
  • <pubDate> There should be at least 1 minute between the pubDates if you're planning to send many Tweets. If it is empty, we’ll use Date.UTCNow as "publish date." We don't putpubDates in Tweets; however, we may sort your items using this field to send the most recent ones to Twitter.
  • <guid> A string that uniquely identifies the item. You can give a random GUID or a sequential number here. If your <link> element is empty, this field becomes mandatory.

Feed Sample

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    >
    <channel>
        <atom:link href="https://blog.circleboom.com" rel="self" type="application/rss+xml"/>
        <title/>
        <link>https://blog.circleboom.com</link>
        <description>Circleboom Blog</description>
            <item>
                <title>4 Tips to Become Popular on Twitter</title>
                <link>https://blog.circleboom.com/4-tips-become-popular-on-twitter/</link>
                <pubDate>Fri, 18 Jan 2019 21:56:30 +0000</pubDate>
                <guid isPermaLink="false">https://blog.circleboom.com/?p=1524</guid>
            </item>
            <item>
                <title>How to Delete Followers on Twitter</title>
                <link>https://blog.circleboom.com/how-to-delete-followers-on-twitter/</link>
                <pubDate>Wed, 16 Jan 2019 20:39:04 +0000</pubDate>
                <guid isPermaLink="false">https://blog.circleboom.com/?p=1521</guid>
            </item>
    </channel>
</rss>

pubDate Specification

RSS / ATOM specs are based on RFC 2822 specification and require pubDates to have complied with the spec.

PHP Sample

$pubDate = $article[creation_date]; 
$pubDate= date("D, d M Y H:i:s T", strtotime($pubDate));
// and output should be <pubDate>'.$pubDate.'</pubDate>
// https://php.net/manual/en/class.datetimeinterface.php#datetime.constants.rfc2822

Specifications