https://validator.w3.org/feed/check.cgi ... sfeed.html
De feed wordt gemaakt via de content pagina (geen html) met daarin:
Code: Select all
{CGBlog summarytemplate="CGBlogFeed" number="1000"}
Code: Select all
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="http://www.uisge-beatha.eu/rssfeed" rel="self" type="application/rss+xml" />
<title>RSS feeds uit het logboek en met nieuwtjes van Uisge Beatha</title>
<link>http://www.uisge-beatha.eu/rssfeed</link>
<description>RSS feeds uit het logboek en met nieuwtjes van Uisge Beatha</description>
<copyright>(c) Gregor J. de Graaf</copyright>
<generator>CMS Made Simple</generator>
{foreach from=$items item='entry'}
<item>
<title>{$entry->title|escape|truncate:65}</title>
<pubDate>{$entry->postdate|rfc_date}</pubDate>
<link>{$entry->detail_url}</link>
{capture assign=foo}{if $entry->summary}{eval var=$entry->summary|strip_tags}{else if $entry->content}{eval var=$entry->content|strip_tags}{/if}{/capture}
<description>{if $entry->fieldsbyname.facebook_thumbnail->value != ''}<img width="150" height="200" style="width:150px;height:200px;padding-bottom:10px;padding-right:10px;float:left;" src={$entry->file_location}/{$entry->fieldsbyname.facebook_thumbnail->value}>{else}<img width="150" height="200" style="width:150px;height:200px;padding-bottom:10px;padding-right:10px;float:left;" src="{root_url}/uploads/images/uisge-beatha-front.jpg">{/if}{$foo|strip_tags|strip|truncate:150}
</description>
<guid>{$entry->detail_url}</guid>
</item>
{/foreach}
</channel>
</rss>
Verder vindt de Validator een "self"-verwijzing niet leuk.
Kan ik deze probleemloos weghalen?line 3, column 93: Self reference doesn't match document location [help]
Dank alvast voor het meedenken!