https://validator.w3.org/feed/check.cgi ... d.rss#l475
Melding:
Op line 475 zie ik dan:line 475, column 0: description should not contain - attribute (23 occurrences) [help]
<description><img width="150" height="150" style="width:150px;hei ...
line 475, column 0: description should not contain 008.jpg attribute [help]
<description><img width="150" height="150" style="width:150px;hei ...
Via het vervangen van spaties naar %20, daar heb ik bijkbaar een syntax fout inzitten:<description><img width="150" height="150" style="width:150px;height:200px;padding-bottom:10px;padding-right:10px;float:left;" src=https://www.uisge-beatha.eu/uploads/cgb ... B_Vakantie 2014 - 008.jpg> Na een inspannende nacht, vandaag bijkomen in Nieuwpoort.
Code: Select all
{capture assign facebookthumb}{eval var=$entry->fieldsbyname.facebook_thumbnail|str_replace(' ', '%20'}{/capture}

Nu het deel dat niet / minder aan cmsms is gerelateerd, de lay-out van de post op bijv. Facebook via IFTTT. Ik vermoed dat het misgaat vanuit de rss-feed in het deel description:
Code: Select all
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="{root_url}/rssfeed.rss" rel="self" type="application/rss+xml" />
<title>RSS feeds uit het logboek en met nieuwtjes van Uisge Beatha</title>
<link>https:www.uisge-beatha.eu/rssfeed.rss</link>
<description>RSS feeds uit het logboek en met nieuwtjes van Uisge Beatha</description>
<category>Sports</category>
<copyright>(c) Gregor de Graaf</copyright>
<generator>CMS Made Simple</generator>
{foreach from=$items item='entry'}
<item>
<title>{$entry->title|escape|truncate:80}</title>
<pubDate>{$entry->postdate|rfc_date}</pubDate>
<link><![CDATA[{$entry->detail_url|cms_escape:htmlall}]]></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}
{* capture assign facebookthumb}{eval var=$entry->fieldsbyname.facebook_thumbnail|str_replace(' ', '%20'}{/capture *}
<description>{if !empty($entry->fieldsbyname.facebook_thumbnail->value)}<img width="150" height="150" 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="150" 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|cms_escape:html|strip|truncate:150}
</description>
<guid isPermaLink="false">{$entry->detail_url|cms_escape:url}</guid>
</item>
{/foreach}
</channel>
</rss>
Iemand een idee hoe ik dit zou kunnen oplossen?