I need to preface this by saying I know almost nothing about formatting RSS Feeds properly. I tried Google and such to try to figure out how to add my Twitter RSS feed to my Site RSS (conglomerate feeds) without luck, so I am asking the gurus here.
My latest Tweet is listed above my articles on the index of my site. I did this since most times I send out a short Tweet when I don’t have enough material for a full article. I use the Twitter timeline plugin.
What I want to do is add my tweet to my sites standard RSS 2.0 feed. I realize that my readers could just add the Twitter RSS to their RSS lists, but this way it shows up inside the feeds related to my site and is more convenient for the user.
I could probably hack it into the template above the exp:weblog:entries tag, but not really know much about RSS XML formatting I would probably end up futzing the entire feed somehow.
Any would be appreciated as I am operating blindly when it comes to this. Current RSS Feed template below.
Thanks.
{assign_variable:master_weblog_name="ffp"}
{assign_variable:my_template_group="scrapbook"}
{exp:rss:feed weblog="{master_weblog_name}"}
<?xml version="1.0" encoding="{encoding}"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>{exp:xml_encode}{weblog_name}{/exp:xml_encode}</title>
<link>{weblog_url}</link>
<description>{weblog_description}</description>
<dc:language>{weblog_language}</dc:language>
<dc:creator>{email}</dc:creator>
<dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
<dc:date>{gmt_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
<admin:generatorAgent rdf:resource="http://www.pmachine.com/" >
{exp:weblog:entries weblog="{master_weblog_name}" limit="10" rdf="off" dynamic_start="on" disable="member_data|trackbacks"}
<item>
<title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
<link>{title_permalink={my_template_group}/individual}</link>
<guid>{title_permalink={my_template_group}/individual}#When:{gmt_entry_date format="%H:%i:%sZ"}</guid>
<description>{exp:xml_encode}{summary}{body}{/exp:xml_encode}</description>
<dc:subject>{exp:xml_encode}{categories backspace="1"}{category_name}, {/categories}{/exp:xml_encode}</dc:subject>
<dc:date>{gmt_entry_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
</item>
{/exp:weblog:entries}
</channel>
</rss>
{/exp:rss:feed}