<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=4181&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / Newsmeldung zu Facebook übertragen?]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=4181</link>
		<description><![CDATA[Die aktuellsten Beiträge in Newsmeldung zu Facebook übertragen?.]]></description>
		<lastBuildDate>Mon, 20 Apr 2015 11:11:46 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Newsmeldung zu Facebook übertragen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=34352#p34352</link>
			<description><![CDATA[<p>Bin gerade drüber gestolpert.</p><div class="quotebox"><blockquote><div><p>W3C meint: Valide! Meckert aber das erste &lt;item&gt; an; dort fehle ein guid Element. Das zweite &lt;item&gt; ist aber offenbar ok.</p></div></blockquote></div><p>Nee, er sagt schon, dass es <em>zweimal </em>vorkommt.<br />Er zeigt es allerdings nur einmal an.</p><p>GUID-Element bedeutet: globally unique identifier. Das bedeutet, jedes Item benötigt einen eindeutigen Link. Bestenfalls ein Permalink. Das ist eigentlich optional, aber einige Anwendungen verlangen das. In Deinem Falle müsstest Du also für jeden News-Artikel einen Link zum Artikel mit angeben:</p><div class="codebox"><pre><code>&lt;link&gt;{$entry-&gt;detail_url}&lt;/link&gt;</code></pre></div><p>bzw.</p><div class="codebox"><pre><code>&lt;guid&gt;{$entry-&gt;detail_url}&lt;/guid&gt;</code></pre></div><p>In Deinem geänderten Feed-Template hast Du das in der {foreach} Schleife rausgenommen. Deine Items bestehen nur aus &lt;title&gt;, &lt;description&gt; und &lt;pubDate&gt;. Ein Link zu jedem einzelnen Artikel fehlt allerdings. (siehe nockenfells Beispiel)</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Mon, 20 Apr 2015 11:11:46 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=34352#p34352</guid>
		</item>
		<item>
			<title><![CDATA[Re: Newsmeldung zu Facebook übertragen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33282#p33282</link>
			<description><![CDATA[<p>Ok, es gibt Fortschritte, aber auch Rückschläge&#160; &#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/big_smile.png" alt="big_smile" /> </p><p>Ich habe nockenfells Vorschlag angenommen und das Template entsprechend erweitert:</p><div class="codebox"><pre class="vscroll"><code>[== xml ==]

{* original rss feed template *}
&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;rss version=&quot;2.0&quot;
xmlns:content=&quot;http://purl.org/rss/1.0/modules/content/&quot;
xmlns:wfw=&quot;http://wellformedweb.org/CommentAPI/&quot;
xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot;
xmlns:atom=&quot;http://www.w3.org/2005/Atom&quot;
xmlns:sy=&quot;http://purl.org/rss/1.0/modules/syndication/&quot;
xmlns:slash=&quot;http://purl.org/rss/1.0/modules/slash/&quot;
&gt;
  &lt;channel&gt;
  {* note: if you have not configured pretty urls or mod rewrite, the next line may fail when trying to validate the feed *}
  &lt;atom:link href=&quot;{$feed_url}&quot; rel=&quot;self&quot; type=&quot;application/rss+xml&quot; /&gt;
    &lt;title&gt;{$feed.title|cms_escape}&lt;/title&gt;
    {if isset($feed.link) &amp;&amp; !empty($feed.link)}&lt;link&gt;{$feed.link}&lt;/link&gt;{/if}
    {if isset($feed.description) &amp;&amp; !empty($feed.description)}&lt;description&gt;{$feed.description}&lt;/description&gt;{/if}
    {if isset($feed.copyright) &amp;&amp; !empty($feed.copyright)}&lt;copyright&gt;{$feed.copyright}&lt;/copyright&gt;{/if}
    {if isset($generator)}&lt;generator&gt;{$generator}&lt;/generator&gt;{/if}
    {if isset($feed.managing_editor) &amp;&amp; !empty($feed.managing_editor)}&lt;managingEditor&gt;{$feed.managing_editor}&lt;/managingEditor&gt;{/if}
    {if isset($admin_email)}&lt;webMaster&gt;{$admin_email} ({$admin_user-&gt;firstname} {$admin_user-&gt;lastname})&lt;/webMaster&gt;{/if}
    {if isset($feed.image) &amp;&amp; !empty($feed.image)}
      &lt;image&gt;
	{if isset($feed.description) &amp;&amp; !empty($feed.description)}&lt;description&gt;{$feed.description}&lt;/description&gt;{/if}
        {if isset($feed.link) &amp;&amp; !empty($feed.link)}&lt;link&gt;{$feed.link}&lt;/link&gt;{/if}
        &lt;title&gt;{$feed.title}&lt;/title&gt;
        &lt;url&gt;{$file_location}/{$feed.image}&lt;/url&gt;
      &lt;/image&gt;
    {/if}

    {* an example of how to create a feed from a call to the news module *}
    {* you can use any smarty variable that is available in the news summary template *}
    {* you can substitute this logic with output from any module that supports a summary
       view, or possibly get artistic and mix output from different modules *}
    {News assign=&#039;junk&#039; detailpage=$feed.pageid}
    {if isset($items)}

    {foreach from=$items item=&#039;entry&#039;}
    &lt;item&gt;
      &lt;title&gt;{$entry-&gt;title|escape}&lt;/title&gt;
          
{capture assign=&#039;description&#039;}{eval var=$entry-&gt;content}{/capture}


      &lt;description&gt;&lt;![CDATA[{$description|replace:&#039;src=&quot;uploads&#039;:&#039;src=&quot;http://www.csmarketing.de/konzept/uploads&#039;|summarize:520|trim}]]&gt;
      &lt;/description&gt;

      &lt;pubDate&gt;{$entry-&gt;postdate|rfc_date}&lt;/pubDate&gt;
      {*&lt;category&gt;&lt;![CDATA[Formulare]]&gt;&lt;/category&gt;*}
      
    &lt;/item&gt;
    {/foreach}

    {/if}
  &lt;/channel&gt;
&lt;/rss&gt;</code></pre></div><p>Im Browser sieht das ganz ok aus; auch Bilder werden angezeigt; iFrames aber nicht, obschon versuchsweise mal in der Newsmeldung eingebaut und im Brwoser-Quelltext des RSS auch angezeigt (innerhalb der CDATA Klammer).</p><p>W3C meint: Valide! Meckert aber das erste &lt;item&gt; an; dort fehle ein guid Element. Das zweite &lt;item&gt; ist aber offenbar ok.</p><p>Facebook - vor dieser RSS-Template-Änderung kam noch was an, wenn auch nicht alles. <br />Nun aber behauptet Facebook:</p><p><em>We were unable to find any publishable items in this feed. The feed may be empty, or the items in the feed may be missing critical elements (such as links or pubdates) which prevent us from publishing. </em></p><p>Tja - so ein bischen enttäuscht bin ich da schon. Evtl. habe ich ja was wesentliches übersehen oder falsch gemacht?</p>]]></description>
			<author><![CDATA[dummy@example.com (fishfart)]]></author>
			<pubDate>Fri, 19 Dec 2014 13:39:08 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33282#p33282</guid>
		</item>
		<item>
			<title><![CDATA[Re: Newsmeldung zu Facebook übertragen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33240#p33240</link>
			<description><![CDATA[<p>Hallo Nockenfell,</p><p>beherzten Dank!!</p><p>Das sieht ja schon ganz anders aus. Ich werde das berücksichtigen und wohl noch einiges dazulernen!</p>]]></description>
			<author><![CDATA[dummy@example.com (fishfart)]]></author>
			<pubDate>Fri, 12 Dec 2014 07:28:03 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33240#p33240</guid>
		</item>
		<item>
			<title><![CDATA[Re: Newsmeldung zu Facebook übertragen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33239#p33239</link>
			<description><![CDATA[<p>Du musst die Bilder im Feed mit kompletter URL angeben. Dies sieht dann im Feedtemplate in etwa so aus:</p><div class="codebox"><pre><code>&lt;content:encoded&gt;&lt;![CDATA[{$content|replace:&#039;src=&quot;uploads&#039;:&#039;src=&quot;http://csmarketing.de/uploads&#039;}]]&gt;&lt;/content:encoded&gt;</code></pre></div><p>Dann sollte dein Feed auch valide sein:<br /><a href="http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fcsmarketing.de%2Fkonzept%2Findex.php%2Ffeeds%2FCS-Marketing-Feed.rss" rel="nofollow">http://validator.w3.org/feed/check.cgi? … g-Feed.rss</a></p><p>Ich habe dir hier mein Template reinkopiert, dass ich mit CGBlog zusammen nutze:</p><div class="codebox"><pre class="vscroll"><code>{* original rss feed template *}
&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;rss version=&quot;2.0&quot;
xmlns:content=&quot;http://purl.org/rss/1.0/modules/content/&quot;
xmlns:wfw=&quot;http://wellformedweb.org/CommentAPI/&quot;
xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot;
xmlns:atom=&quot;http://www.w3.org/2005/Atom&quot;
xmlns:sy=&quot;http://purl.org/rss/1.0/modules/syndication/&quot;
xmlns:slash=&quot;http://purl.org/rss/1.0/modules/slash/&quot;
&gt;
  &lt;channel&gt;
  {* note: if you have not configured pretty urls or mod rewrite, the next line may fail when trying to validate the feed *}
  &lt;title&gt;{$feed.title}&lt;/title&gt;
  &lt;atom:link href=&quot;{$feed_url}&quot; rel=&quot;self&quot; type=&quot;application/rss+xml&quot; /&gt;
  &lt;link&gt;http://www.domain.ch/blog.htm&lt;/link&gt;    
	&lt;description&gt;{$feed.description}&lt;/description&gt;
	&lt;copyright&gt;{$feed.copyright}&lt;/copyright&gt;
  &lt;lastBuildDate&gt;{$smarty.now|rfc_date}&lt;/lastBuildDate&gt;
	&lt;language&gt;de-DE&lt;/language&gt;
  &lt;sy:updatePeriod&gt;hourly&lt;/sy:updatePeriod&gt;
	&lt;sy:updateFrequency&gt;1&lt;/sy:updateFrequency&gt;
  {if isset($feed.image) &amp;&amp; !empty($feed.image)}
    &lt;image&gt;
      &lt;link&gt;http://www.domain.ch/blog.htm&lt;/link&gt;
        &lt;title&gt;{$feed.title|escape}&lt;/title&gt;
        &lt;url&gt;{$file_location}/{$feed.image}&lt;/url&gt;
    &lt;/image&gt;
  {/if}
     
    {* an example of how to create a feed from a call to the news module *}
    {* you can use any smarty variable that is available in the news summary template *}
    {* you can substitute this logic with output from any module that supports a summary
       view, or possibly get artistic and mix output from different modules *}
   
 {CGBlog number=&quot;20&quot;  assign=&#039;junk&#039;}
    {foreach from=$items item=&#039;entry&#039;}
    &lt;item&gt;
      &lt;title&gt;{$entry-&gt;title|escape}&lt;/title&gt;
      &lt;link&gt;{$entry-&gt;detail_url}&lt;/link&gt;
      &lt;comments&gt;{$entry-&gt;detail_url}#comments&lt;/comments&gt;
      {capture assign=&#039;description&#039;}{eval var=$entry-&gt;content}{/capture}
 {capture assign=&#039;content&#039;}{eval var=$entry-&gt;content|replace:&quot;[more]&quot;:&quot;&quot;}{/capture}

      &lt;description&gt;&lt;![CDATA[{$description|replace:&#039;src=&quot;uploads&#039;:&#039;src=&quot;http://www.domain.ch/uploads&#039;|summarize:120|trim}]]&gt;&lt;/description&gt;
      &lt;content:encoded&gt;&lt;![CDATA[{$content|replace:&#039;src=&quot;uploads&#039;:&#039;src=&quot;http://www.domain.ch/uploads&#039;}]]&gt;&lt;/content:encoded&gt;
      &lt;pubDate&gt;{$entry-&gt;postdate|rfc_date}&lt;/pubDate&gt;
      {*&lt;category&gt;&lt;![CDATA[Formulare]]&gt;&lt;/category&gt;*}
      &lt;guid&gt;{$entry-&gt;detail_url}&lt;/guid&gt;
    &lt;/item&gt;
    {/foreach}
  &lt;/channel&gt;
&lt;/rss&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (nockenfell)]]></author>
			<pubDate>Thu, 11 Dec 2014 19:07:42 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33239#p33239</guid>
		</item>
		<item>
			<title><![CDATA[Re: Newsmeldung zu Facebook übertragen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33237#p33237</link>
			<description><![CDATA[<p>Hallo NaN!<br />Thanks for caring!</p><p>Feed URL (ohne CDATA Klammer)<br /><a href="http://csmarketing.de/konzept/index.php/feeds/CS-Marketing-Feed.rss" rel="nofollow">http://csmarketing.de/konzept/index.php … g-Feed.rss</a></p><p>Das sind reine Test-Newsmeldungen, nicht ernst gemeint ...&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/smile.png" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (fishfart)]]></author>
			<pubDate>Thu, 11 Dec 2014 15:14:19 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33237#p33237</guid>
		</item>
		<item>
			<title><![CDATA[Re: Newsmeldung zu Facebook übertragen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33235#p33235</link>
			<description><![CDATA[<p>Hast Du mal einen Link zum RSS-Feed?<br />Eigentlich können Bilder schon in einem RSS-Feed angezeigt werden.<br />Es kommt aber darauf an, wie sie verlinkt wurden.<br />Wie sehen die Links zu den Bildern denn aus?</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Thu, 11 Dec 2014 13:33:55 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33235#p33235</guid>
		</item>
		<item>
			<title><![CDATA[Re: Newsmeldung zu Facebook übertragen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33233#p33233</link>
			<description><![CDATA[<p>... so, es hat wie immer etwas länger gedauert, aber wir sind voran gekommen.<br />Module installiert, Feed wird erzeugt. Soweit, so gut.</p><p>Leider fehlen uns aber noch die (absolut referenzierten) Bilder, die in den Newsmeldungen vorhanden sind. Im Quelltext der RSS-Seite werden die zwar angegeben; aber nicht im Browser angezeigt.</p><p>Leider auch nicht bei Facebook. Das sieht dann alles etwas &#039;nüchtern aus&#039; ;-)<br />Ich habe recherchiert und ausprobiert, den Inhalt der Newsmeldung mit &quot;&lt;![CDATA[ ... ]]&gt;&quot; zu klammern; aber bislang hat das auch keine Besserung gebracht. </p><p>Funktionieren denn Bilder generell nicht in RSS-Feeds?</p>]]></description>
			<author><![CDATA[dummy@example.com (fishfart)]]></author>
			<pubDate>Thu, 11 Dec 2014 12:03:33 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33233#p33233</guid>
		</item>
		<item>
			<title><![CDATA[Re: Newsmeldung zu Facebook übertragen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33099#p33099</link>
			<description><![CDATA[<div class="quotebox"><cite>NaN schrieb:</cite><blockquote><div><p>Die Frage ist zunächst, welche Möglichkeiten bietet Dir Facebook, um fremde Inhalte auf der Facebook-Seite einzubinden. Dann kannst Du nach Möglichkeiten fragen, mit denen CMSms diese Inhalte in der Form bereitstellt, dass Facebook damit etwas anfangen kann.</p><p>Soweit ich weiß, unterstützt Facebook auch das Einbinden von RSS Feeds.<br />Ergo musst Du Deine News nur zusätzlich als RSS Feed bereitstsellen.<br />Und das ginge mit dem CGFeedMaker.</p></div></blockquote></div><p>Dank Dir!! - Ich checke das und melde mich wieder!</p>]]></description>
			<author><![CDATA[dummy@example.com (fishfart)]]></author>
			<pubDate>Tue, 25 Nov 2014 10:09:53 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33099#p33099</guid>
		</item>
		<item>
			<title><![CDATA[Re: Newsmeldung zu Facebook übertragen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33097#p33097</link>
			<description><![CDATA[<p>Die Frage ist zunächst, welche Möglichkeiten bietet Dir Facebook, um fremde Inhalte auf der Facebook-Seite einzubinden. Dann kannst Du nach Möglichkeiten fragen, mit denen CMSms diese Inhalte in der Form bereitstellt, dass Facebook damit etwas anfangen kann.</p><p>Soweit ich weiß, unterstützt Facebook auch das Einbinden von RSS Feeds.<br />Ergo musst Du Deine News nur zusätzlich als RSS Feed bereitstsellen.<br />Und das ginge mit dem CGFeedMaker.</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Tue, 25 Nov 2014 08:47:51 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33097#p33097</guid>
		</item>
		<item>
			<title><![CDATA[Newsmeldung zu Facebook übertragen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33092#p33092</link>
			<description><![CDATA[<p>Hallo und guten Morgen, liebe Leute.</p><p>Ich habe recherchiert, aber noch nicht die richtige Antwort gefunden; sollte ich einen Beitrag übersehen haben, bitte ich um Entschuldigung.</p><p>Ich suche eine Möglichkeit, die Newsmeldungen aus dem Newsmodul automatisch auf Facebook zu publizieren.</p><p>Mir geht es also nicht um FB-Likebuttons im CMSms, sondern genau umgekehrt: wie bekomme ich Inhalte aus dem CMS zu Facebook?</p><p>Im Beitrag von 2011 &quot;CGFeedMaker einsetzen&quot; (<a href="http://forum.cmsmadesimple.de/viewtopic.php?id=19" rel="nofollow">http://forum.cmsmadesimple.de/viewtopic.php?id=19</a>) habe ich ein paar Hinweise gefunden; ich frage mich nur, ob es da Alternativen gibt?</p><p>Ich würde mich sehr freuen, wenn jemandem dazu etwas bekannt ist oder einfällt. Auch die Info, daß es nicht geht oder es kein Modul oder (noch) keine Lösung dafür gibt, wäre mir willkommen!</p><p>Cheers,<br />Johannes</p>]]></description>
			<author><![CDATA[dummy@example.com (fishfart)]]></author>
			<pubDate>Tue, 25 Nov 2014 07:57:23 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33092#p33092</guid>
		</item>
	</channel>
</rss>
