Somewhere in this forum I read that the freetag plugin version 2.49 should be able to display the free tags in RSS Feeds. I have version 2.56, but I can't get the freetag to show in RSS. I can choose if I want freetags in body/extended entry or in the footer, but none of the options makes the tags appear in RSS. I am using the latest RSS Bandit.
I can't upgrade to the latest freetag plugin version (2.62). Spartacus says it might be down, but it isn't. I sometimes have these upgrade problems for some reason. Usually it helps, if uninstall the plugin and then reinstall it, but I am concerned that I then loose all tags.
Besides, I would like to display Social Bookmarking and Adsense in the RSS Feeds. How can I do that?
I already have a link "Bookmark and share this page at del.ico.us etc" in my extended entry view, like here., but this is not included in any of my RSS Feeds (091, 10, 20). Unfortunately.
I would appreciate your help. Thanks.
How to display RSS Tags with Tags and Bookmarking +Adsense?
How to display RSS Tags with Tags and Bookmarking +Adsense?
Last edited by Josh on Wed Aug 09, 2006 5:14 pm, edited 1 time in total.
My blog: http://AtlanticReview.org
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: How to display RSS Tags with Freetags and Adsense?
Hi!
Are you using netmirror.org as your spartacus mirror?
About your RSS Feed: The tags are inside the Feeds already. Check http://atlanticreview.org/rss.php - search for <category>Al Qaeda</category>.
Regards,
Garvin
Are you using netmirror.org as your spartacus mirror?
About your RSS Feed: The tags are inside the Feeds already. Check http://atlanticreview.org/rss.php - search for <category>Al Qaeda</category>.
Edit your feed*.tpl files.Besides, I would like to display Adsense in the RSS Feeds. How can I do that?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
I changed netmirror to S9Y and SY9. Now Spartacus says, i got the latest version of the plugin.
But why aren't they displayed in RSS Bandit?About your RSS Feed: The tags are inside the Feeds already.
My blog: http://AtlanticReview.org
I have included the code for the Social Bookmarking and Adsense at the end of the file feed_2.0.tpl (of my test blog http://facts.atlanticreview.org), but it does not show up in the RSS readers (neither in RSS Bandit nor in Sage).
The feed: http://facts.atlanticreview.org/feeds/index.rss2
Here's the code of feed_2.0.tpl:
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:admin="http://webns.net/mvcb/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
{$namespace_display_dat}>
<channel>
<title>{$metadata.title}</title>
<link>{$metadata.link}</link>
<description>{$metadata.description}</description>
<dc:language>{$metadata.language}</dc:language>
{if $metadata.showMail}
<admin:errorReportsTo rdf:resource="mailto:{$metadata.email}" />
{/if}
<generator>Serendipity {$serendipityVersion} - http://www.s9y.org/</generator>
{$metadata.additional_fields.channel}
{$metadata.additional_fields.image}
{foreach from=$entries item="entry"}
<item>
<title>{$entry.feed_title}</title>
<link>{$entry.feed_entryLink}</link>
{foreach from=$entry.categories item="cat"}
<category>{$cat.feed_category_name}</category>
{/foreach}
<comments>{$entry.feed_entryLink}#comments</comments>
<wfw:comment>{$serendipityBaseURL}wfwcomment.php?cid={$entry.feed_id}</wfw:comment>
{if !$is_comments}
<slash:comments>{$entry.comments}</slash:comments>
<wfw:commentRss>{$serendipityBaseURL}rss.php?version={$metadata.version}&type=comments&cid={$entry.feed_id}</wfw:commentRss>
{/if}
<author>{$entry.feed_email} ({$entry.feed_author})</author>
{if !empty($entry.body)}
<content:encoded>
{$entry.feed_body|@escape} {$entry.feed_ext|@escape}
</content:encoded>
{/if}
<pubDate>{$entry.feed_timestamp_r}</pubDate>
<guid isPermaLink="false">{$entry.feed_guid}</guid>
{$entry.per_entry_display_dat}
<font size="2">Bookmark and share this page at: </font><a href="http://del.icio.us/post?url=http://fact ... escape:url}" title="Bookmark {$entry.title|escape} at del.icio.us"><img src="/templates/ReworkedDropDown/img/delicious.png" style="vertical-align: middle; border: 0px" alt="Bookmark {$entry.title|escape} at del.icio.us"/></a>
<script type="text/javascript"><!--
google_ad_client = "pub-8xxxx";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="97xxxxxx";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</item>
{/foreach}
</channel>
</rss>
I have fiddled around and tried different placements of the code, but failed.
I have activated "Show full articles with extended body inside RSS feed."
What am I doing wrong?
The feed: http://facts.atlanticreview.org/feeds/index.rss2
Here's the code of feed_2.0.tpl:
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:admin="http://webns.net/mvcb/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
{$namespace_display_dat}>
<channel>
<title>{$metadata.title}</title>
<link>{$metadata.link}</link>
<description>{$metadata.description}</description>
<dc:language>{$metadata.language}</dc:language>
{if $metadata.showMail}
<admin:errorReportsTo rdf:resource="mailto:{$metadata.email}" />
{/if}
<generator>Serendipity {$serendipityVersion} - http://www.s9y.org/</generator>
{$metadata.additional_fields.channel}
{$metadata.additional_fields.image}
{foreach from=$entries item="entry"}
<item>
<title>{$entry.feed_title}</title>
<link>{$entry.feed_entryLink}</link>
{foreach from=$entry.categories item="cat"}
<category>{$cat.feed_category_name}</category>
{/foreach}
<comments>{$entry.feed_entryLink}#comments</comments>
<wfw:comment>{$serendipityBaseURL}wfwcomment.php?cid={$entry.feed_id}</wfw:comment>
{if !$is_comments}
<slash:comments>{$entry.comments}</slash:comments>
<wfw:commentRss>{$serendipityBaseURL}rss.php?version={$metadata.version}&type=comments&cid={$entry.feed_id}</wfw:commentRss>
{/if}
<author>{$entry.feed_email} ({$entry.feed_author})</author>
{if !empty($entry.body)}
<content:encoded>
{$entry.feed_body|@escape} {$entry.feed_ext|@escape}
</content:encoded>
{/if}
<pubDate>{$entry.feed_timestamp_r}</pubDate>
<guid isPermaLink="false">{$entry.feed_guid}</guid>
{$entry.per_entry_display_dat}
<font size="2">Bookmark and share this page at: </font><a href="http://del.icio.us/post?url=http://fact ... escape:url}" title="Bookmark {$entry.title|escape} at del.icio.us"><img src="/templates/ReworkedDropDown/img/delicious.png" style="vertical-align: middle; border: 0px" alt="Bookmark {$entry.title|escape} at del.icio.us"/></a>
<script type="text/javascript"><!--
google_ad_client = "pub-8xxxx";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="97xxxxxx";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</item>
{/foreach}
</channel>
</rss>
I have fiddled around and tried different placements of the code, but failed.
I have activated "Show full articles with extended body inside RSS feed."
What am I doing wrong?
My blog: http://AtlanticReview.org
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
1. Real RSS tags. They are entered as <category> subsittutes in your RSS feed, and as proper tags in your ATOM-Feeds.
2. Technorati-HTML output that shows within the body of your RSS feeds. Those tags can only be used if you use technorati code within your feed*tpl files. The freetag plugin should be independent from 3rd party applications like technorati or feedburner, IMHO.
About the Ad-Code: You need to figure this out on your own; supposedly you are not correctly escaping HTML. I cannot help you more on this, I despise Advertisement in RSS Feeds and do not want to help at all in this regard. Sorry.
Best regards,
Garvin
You changed it to s9y? s9y is a non-active mirror! Only netmirror and SourceForge are actually working.Josh wrote:I changed netmirror to S9Y and SY9. Now Spartacus says, i got the latest version of the plugin.
They are displayed in the headline! I think you are confusing two things:But why aren't they displayed in RSS Bandit?About your RSS Feed: The tags are inside the Feeds already.
1. Real RSS tags. They are entered as <category> subsittutes in your RSS feed, and as proper tags in your ATOM-Feeds.
2. Technorati-HTML output that shows within the body of your RSS feeds. Those tags can only be used if you use technorati code within your feed*tpl files. The freetag plugin should be independent from 3rd party applications like technorati or feedburner, IMHO.
About the Ad-Code: You need to figure this out on your own; supposedly you are not correctly escaping HTML. I cannot help you more on this, I despise Advertisement in RSS Feeds and do not want to help at all in this regard. Sorry.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/