<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://de.contaowiki.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://de.contaowiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jeg</id>
		<title>Contao Community Documentation - Benutzerbeiträge [de]</title>
		<link rel="self" type="application/atom+xml" href="https://de.contaowiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jeg"/>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/Spezial:Beitr%C3%A4ge/Jeg"/>
		<updated>2026-05-02T15:30:51Z</updated>
		<subtitle>Benutzerbeiträge</subtitle>
		<generator>MediaWiki 1.22.6</generator>

	<entry>
		<id>https://de.contaowiki.org/Delicious_in_Contao_einbinden</id>
		<title>Delicious in Contao einbinden</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/Delicious_in_Contao_einbinden"/>
				<updated>2012-01-14T13:58:14Z</updated>
		
		<summary type="html">&lt;p&gt;Jeg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{AppliesTo&lt;br /&gt;
|Version=Alle Versionen}}&lt;br /&gt;
&lt;br /&gt;
Folgende Anleitung ermöglicht es, die letzten Bookmarks von Delicious in Contao einzubinden:&lt;br /&gt;
&lt;br /&gt;
* Füge folgenden Code in eine neue PHP-Datei ein und speichere diese in deiner Contao-Installation im Ordner Templates.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
// @see http://briancray.com/2009/08/24/delicious-bookmarks-api-php/&lt;br /&gt;
&lt;br /&gt;
function get_delicious()&lt;br /&gt;
{&lt;br /&gt;
	$cache = dirname(__FILE__) . '/caches/delicious';&lt;br /&gt;
	if(filemtime($cache) &amp;lt; (time() - 300))&lt;br /&gt;
	{&lt;br /&gt;
		@mkdir(dirname(__FILE__) . '/caches', 0777);&lt;br /&gt;
		$url = 'https://api.del.icio.us/v1/posts/recent?count=5'; /* choose number of bookmarks */&lt;br /&gt;
		$ch = curl_init();&lt;br /&gt;
		curl_setopt($ch, CURLOPT_URL, $url);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_POST, 1);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_TIMEOUT, 5);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);&lt;br /&gt;
		// add delicious.com username and password below&lt;br /&gt;
		curl_setopt($ch, CURLOPT_USERPWD, 'username:password');&lt;br /&gt;
		$data = curl_exec($ch);&lt;br /&gt;
		curl_close($ch);&lt;br /&gt;
		$cachefile = fopen($cache, 'wb');&lt;br /&gt;
		fwrite($cachefile, $data);&lt;br /&gt;
		fclose($cachefile);&lt;br /&gt;
	}&lt;br /&gt;
	else&lt;br /&gt;
	{&lt;br /&gt;
		$data = file_get_contents($cache);&lt;br /&gt;
	}&lt;br /&gt;
	$xml = simplexml_load_string($data);&lt;br /&gt;
 &lt;br /&gt;
	$html = '&amp;lt;ul&amp;gt;';&lt;br /&gt;
	foreach($xml as $item)&lt;br /&gt;
	{&lt;br /&gt;
		$html .= '&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;' . $item['href'] . '&amp;quot; title=&amp;quot;' . $item['description'] . '&amp;quot;&amp;gt;' . $item['description'] . '&amp;lt;/a&amp;gt;: ' . $item['extended'] . '&amp;lt;/li&amp;gt;';&lt;br /&gt;
	}&lt;br /&gt;
	$html .= '&amp;lt;/ul&amp;gt;';&lt;br /&gt;
	echo $html;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
// display them&lt;br /&gt;
get_delicious();&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Ersetzte in Zeile 21 ''username:password'' mit deinem Delicious Benutzernamen (delicious ID) und deinem Passwort. Bei Bedarf kannst du noch in Zeile 11 die Anzahl Bookmarks ändern.&lt;br /&gt;
* Wenn du das nicht sowieso schon gemacht hast, kopiere die Datei auf den Webserver (natürlich wieder in den Ordner Templates).&lt;br /&gt;
* Erstelle ein neues Modul und wähle als Elementtyp HTML. Füge mit dem Insert-Tag ''{{file::delicious_boookmarks.php}}'' die entsprechende PHP-Datei ein.&lt;br /&gt;
&lt;br /&gt;
That's it! Schon hast du deine letzten Bookmarks automatisch auf deiner Website angezeigt.&lt;/div&gt;</summary>
		<author><name>Jeg</name></author>	</entry>

	<entry>
		<id>https://de.contaowiki.org/Delicious_in_Contao_einbinden</id>
		<title>Delicious in Contao einbinden</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/Delicious_in_Contao_einbinden"/>
				<updated>2012-01-14T13:56:05Z</updated>
		
		<summary type="html">&lt;p&gt;Jeg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Folgende Anleitung ermöglicht es, die letzten Bookmarks von Delicious in Contao einzubinden:&lt;br /&gt;
&lt;br /&gt;
* Füge folgenden Code in eine neue PHP-Datei ein und speichere diese in deiner Contao-Installation im Ordner Templates.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
// @see http://briancray.com/2009/08/24/delicious-bookmarks-api-php/&lt;br /&gt;
&lt;br /&gt;
function get_delicious()&lt;br /&gt;
{&lt;br /&gt;
	$cache = dirname(__FILE__) . '/caches/delicious';&lt;br /&gt;
	if(filemtime($cache) &amp;lt; (time() - 300))&lt;br /&gt;
	{&lt;br /&gt;
		@mkdir(dirname(__FILE__) . '/caches', 0777);&lt;br /&gt;
		$url = 'https://api.del.icio.us/v1/posts/recent?count=5'; /* choose number of bookmarks */&lt;br /&gt;
		$ch = curl_init();&lt;br /&gt;
		curl_setopt($ch, CURLOPT_URL, $url);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_POST, 1);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_TIMEOUT, 5);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);&lt;br /&gt;
		// add delicious.com username and password below&lt;br /&gt;
		curl_setopt($ch, CURLOPT_USERPWD, 'username:password');&lt;br /&gt;
		$data = curl_exec($ch);&lt;br /&gt;
		curl_close($ch);&lt;br /&gt;
		$cachefile = fopen($cache, 'wb');&lt;br /&gt;
		fwrite($cachefile, $data);&lt;br /&gt;
		fclose($cachefile);&lt;br /&gt;
	}&lt;br /&gt;
	else&lt;br /&gt;
	{&lt;br /&gt;
		$data = file_get_contents($cache);&lt;br /&gt;
	}&lt;br /&gt;
	$xml = simplexml_load_string($data);&lt;br /&gt;
 &lt;br /&gt;
	$html = '&amp;lt;ul&amp;gt;';&lt;br /&gt;
	foreach($xml as $item)&lt;br /&gt;
	{&lt;br /&gt;
		$html .= '&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;' . $item['href'] . '&amp;quot; title=&amp;quot;' . $item['description'] . '&amp;quot;&amp;gt;' . $item['description'] . '&amp;lt;/a&amp;gt;: ' . $item['extended'] . '&amp;lt;/li&amp;gt;';&lt;br /&gt;
	}&lt;br /&gt;
	$html .= '&amp;lt;/ul&amp;gt;';&lt;br /&gt;
	echo $html;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
// display them&lt;br /&gt;
get_delicious();&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Ersetzte in Zeile 21 ''username:password'' mit deinem Delicious Benutzernamen (delicious ID) und deinem Passwort. Bei Bedarf kannst du noch in Zeile 11 die Anzahl Bookmarks ändern.&lt;br /&gt;
* Wenn du das nicht sowieso schon gemacht hast, kopiere die Datei auf den Webserver (natürlich wieder in den Ordner Templates).&lt;br /&gt;
* Erstelle ein neues Modul und wähle als Elementtyp HTML. Füge mit dem Insert-Tag ''{{file::delicious_boookmarks.php}}'' die entsprechende PHP-Datei ein.&lt;br /&gt;
&lt;br /&gt;
That's it! Schon hast du deine letzten Bookmarks automatisch auf deiner Website angezeigt.&lt;/div&gt;</summary>
		<author><name>Jeg</name></author>	</entry>

	<entry>
		<id>https://de.contaowiki.org/Delicious_in_Contao_einbinden</id>
		<title>Delicious in Contao einbinden</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/Delicious_in_Contao_einbinden"/>
				<updated>2012-01-14T13:55:19Z</updated>
		
		<summary type="html">&lt;p&gt;Jeg: Die Seite wurde neu angelegt: „Folgende Anleitung ermöglicht es, die letzten Bookmarks von Delicious in Contao einzubinden:  * Füge folgenden Code in eine neue PHP-Datei ein und speichere die…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Folgende Anleitung ermöglicht es, die letzten Bookmarks von Delicious in Contao einzubinden:&lt;br /&gt;
&lt;br /&gt;
* Füge folgenden Code in eine neue PHP-Datei ein und speichere diese in deiner Contao-Installation im Ordner Templates.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
// @see http://briancray.com/2009/08/24/delicious-bookmarks-api-php/&lt;br /&gt;
&lt;br /&gt;
function get_delicious()&lt;br /&gt;
{&lt;br /&gt;
	$cache = dirname(__FILE__) . '/caches/delicious';&lt;br /&gt;
	if(filemtime($cache) &amp;lt; (time() - 300))&lt;br /&gt;
	{&lt;br /&gt;
		@mkdir(dirname(__FILE__) . '/caches', 0777);&lt;br /&gt;
		$url = 'https://api.del.icio.us/v1/posts/recent?count=5'; /* choose number of bookmarks */&lt;br /&gt;
		$ch = curl_init();&lt;br /&gt;
		curl_setopt($ch, CURLOPT_URL, $url);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_POST, 1);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_TIMEOUT, 5);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);&lt;br /&gt;
		curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);&lt;br /&gt;
		// add delicious.com username and password below&lt;br /&gt;
		curl_setopt($ch, CURLOPT_USERPWD, 'username:password');&lt;br /&gt;
		$data = curl_exec($ch);&lt;br /&gt;
		curl_close($ch);&lt;br /&gt;
		$cachefile = fopen($cache, 'wb');&lt;br /&gt;
		fwrite($cachefile, $data);&lt;br /&gt;
		fclose($cachefile);&lt;br /&gt;
	}&lt;br /&gt;
	else&lt;br /&gt;
	{&lt;br /&gt;
		$data = file_get_contents($cache);&lt;br /&gt;
	}&lt;br /&gt;
	$xml = simplexml_load_string($data);&lt;br /&gt;
 &lt;br /&gt;
	$html = '&amp;lt;ul&amp;gt;';&lt;br /&gt;
	foreach($xml as $item)&lt;br /&gt;
	{&lt;br /&gt;
		$html .= '&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;' . $item['href'] . '&amp;quot; title=&amp;quot;' . $item['description'] . '&amp;quot;&amp;gt;' . $item['description'] . '&amp;lt;/a&amp;gt;: ' . $item['extended'] . '&amp;lt;/li&amp;gt;';&lt;br /&gt;
	}&lt;br /&gt;
	$html .= '&amp;lt;/ul&amp;gt;';&lt;br /&gt;
	echo $html;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
// display them&lt;br /&gt;
get_delicious();&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
* Ersetzte in Zeile 21 ''username:password'' mit deinem Delicious Benutzernamen (delicious ID) und deinem Passwort. Bei Bedarf kannst du noch in Zeile 11 die Anzahl Bookmarks ändern.&lt;br /&gt;
* Wenn du das nicht sowieso schon gemacht hast, kopiere die Datei auf den Webserver (natürlich wieder in den Ordner Templates).&lt;br /&gt;
* Erstelle ein neues Modul und wähle als Elementtyp HTML. Füge mit dem Insert-Tag ''{{file::delicious_boookmarks.php}}'' die entsprechende PHP-Datei ein.&lt;br /&gt;
&lt;br /&gt;
That's it! Schon hast du deine letzten Bookmarks automatisch auf deiner Website angezeigt.&lt;/div&gt;</summary>
		<author><name>Jeg</name></author>	</entry>

	</feed>