<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>naden.de/blog &#187; plugin</title> <atom:link href="http://www.naden.de/blog/tag/plugin/feed" rel="self" type="application/rss+xml" /><link>http://www.naden.de/blog</link> <description>/* no comment */</description> <lastBuildDate>Fri, 30 Jul 2010 09:41:23 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.1</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>redir.ec Firefox Jetpack Plugin</title><link>http://www.naden.de/blog/redirec-firefox-jetpack-plugin</link> <comments>http://www.naden.de/blog/redirec-firefox-jetpack-plugin#comments</comments> <pubDate>Wed, 09 Sep 2009 10:00:11 +0000</pubDate> <dc:creator>naden</dc:creator> <category><![CDATA[Firefox]]></category> <category><![CDATA[firefox plugin]]></category> <category><![CDATA[jetpack]]></category> <category><![CDATA[mozilla]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[redir.ec]]></category> <category><![CDATA[shorturl]]></category><guid
isPermaLink="false">http://www.naden.de/blog/redirec-firefox-jetpack-plugin</guid> <description><![CDATA[Ich habe f&#252;r Thomas Shorturl Service redir.ec ein Firefox Jetpack Plugin geschrieben, was die Nutzung des Dienstes zu einem Kinderspiel macht.
Mit dem Plugin braucht man nur noch auf das redir.ec Icon zu klicken und die aktuelle Url wird &#252;ber die redir.ec API verk&#252;rzt und das Ergebnis in die Zwischenablage kopiert.
Das Icon nistet sich ganz unten [...]]]></description> <content:encoded><![CDATA[<p>Ich habe f&#252;r <a
href="http://blog.thomas.promny.de/archiv/2009/02/27/unser-erstes-twitter-bezogenes-projekt/">Thomas</a> Shorturl Service <a
href="http://redir.ec">redir.ec</a> ein Firefox Jetpack Plugin geschrieben, was die Nutzung des Dienstes zu einem Kinderspiel macht.<span
id="more-140"></span></p><p>Mit dem Plugin braucht man nur noch auf das redir.ec Icon zu klicken und die aktuelle Url wird &#252;ber die redir.ec API verk&#252;rzt und das Ergebnis in die Zwischenablage kopiert.</p><p>Das Icon nistet sich ganz unten rechts in die Statuszeile des Firefox ein.<br
/> <img
src='http://www.naden.de/blog/wp-content/uploads/redir-ec-firefox-jetpack-plugin.gif' alt='redir-ec-firefox-jetpack-plugin.gif' /></p><p><strong>Update</strong><br
/> 12.09.2009 &#8211; v0.2 &#8211; Nutzung der neuen Clipboard API von Jetpack v0.4</p><p><strong>Installation</strong></p><ul><li><a
href="https://jetpack.mozillalabs.com/">Jetpack</a> installieren, wenn du es nicht eh schon hast.</li><li>Das <a
href="/blog/shorturl/43">Jetpack Plugin</a> installieren.</li></ul><p>Fertig!</p> ]]></content:encoded> <wfw:commentRss>http://www.naden.de/blog/redirec-firefox-jetpack-plugin/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Yigg Firefox Jetpack Plugin</title><link>http://www.naden.de/blog/yigg-firefox-jetpack-plugin</link> <comments>http://www.naden.de/blog/yigg-firefox-jetpack-plugin#comments</comments> <pubDate>Sat, 23 May 2009 18:16:23 +0000</pubDate> <dc:creator>naden</dc:creator> <category><![CDATA[Firefox]]></category> <category><![CDATA[firefox plugin]]></category> <category><![CDATA[jetpack]]></category> <category><![CDATA[mozilla]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[yigg]]></category><guid
isPermaLink="false">http://www.naden.de/blog/yigg-firefox-jetpack-plugin</guid> <description><![CDATA[Mit Jetpack hat Mozilla eine neue Schnittstelle ver&#246;ffentlicht, mit der sich noch einfacher als schon jetzt Erweiterungen f&#252;r den Firefox erstellen lassen. Da man beim ausprobieren immer am schnellsten einen Eindruck bekommt, habe ich ein Yigg Jetpack Plugin geschrieben.
Das Plugin zeigt in der Statusbar des Firefox ein kleines Yigg-Icon und eine Checkbox an. Ist die [...]]]></description> <content:encoded><![CDATA[<p>Mit Jetpack hat Mozilla eine neue Schnittstelle ver&#246;ffentlicht, mit der sich noch einfacher als schon jetzt Erweiterungen f&#252;r den Firefox erstellen lassen. Da man beim ausprobieren immer am schnellsten einen Eindruck bekommt, habe ich ein Yigg Jetpack Plugin geschrieben.<span
id="more-129"></span></p><p>Das Plugin zeigt in der Statusbar des Firefox ein kleines Yigg-Icon und eine Checkbox an. Ist die Checkbox aktiv, so schaut das Plugin einmal in der Minute, ob bei Yigg eine neue Nachricht eingestellt wurde. Ist das der Fall, so erscheint eine Messagebox, die den Titel der Nachricht anzeigt und sich nach wenigen Sekunden wieder ausblendet.<br
/> War der Titel interessant und m&#246;chte man die Nachricht lesen, so klickt man auf das Yigg-Icon und landet auf der Detailseite der letzten Nachricht.</p><p>Da Jetpack innerhalb von <em>jetpack.notifications.show</em> kein HTML erlaubt, ist die Nachricht selber nicht verlinkt.</p><p>Die beiden Feeds http://feeds.yigg.de/atom/queue und http://feedproxy.google.com/yiggdequeue die die Webseite http://www.yigg.de/neueste-nachrichten wiedergeben, hinken dieser in der Aktualit&#228;t stets etwas nacht. Ansonsten l&#228;uft alles reibungslos.</p><p>Wer das Plugin ausprobieren m&#246;chte, der geht wie folgt vor:</p><ol><li>installiere die Jetpack-Erweiterung <a
href="https://jetpack.mozillalabs.com" rel="nofollow" target="_blank">https://jetpack.mozillalabs.com</a></li><li><a
href="/blog/shorturl/42" rel="nofollow" target="_blank">und das eigentliche Plugin</a></li><li><s>rufe in deinem Browser <a
href="about:jetpack" rel="nofollow" target="_blank">about:jetpack</a> auf, damit aktivierst du Jetpack (beta eben)</s> entf&#228;llt ab Jetpack v0.1.3</li></ol><p>Man merkt Jetpack an, dass es noch sehr beta ist. Zwar hat man mit dem kompletten Funktionsumfang von jQuery ein sehr m&#228;chtiges Werkzeug an der Hand um das DOM der aktuellen Seite zu manupulieren, doch m&#246;chte man &#196;nderungen am Browser ausserhalb von Statusbar und Tabs vornehmen, so nutzt man schnell wieder die eigentlichen Firefox Schnittstellen.</p> ]]></content:encoded> <wfw:commentRss>http://www.naden.de/blog/yigg-firefox-jetpack-plugin/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Twitter Wordpress</title><link>http://www.naden.de/blog/twitter-wordpress</link> <comments>http://www.naden.de/blog/twitter-wordpress#comments</comments> <pubDate>Fri, 22 May 2009 11:32:23 +0000</pubDate> <dc:creator>naden</dc:creator> <category><![CDATA[Wordpress Plugins]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[twitter]]></category> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.naden.de/blog/twitter-wordpress</guid> <description><![CDATA[Das Wordpress Plugin TwitterThisPost zeigt unterhalb eines Blogbeitrags einen Link an, der den Beitrag bei Twitter.com ver&#246;ffentlicht.
TwitterThisPost nutzt das neuste Feature des i2h ShortUrl Service um diese Aufgabe &#8220;on the fly&#8221; &#8211; ohne einen zus&#228;tzlichen API-Aufruf zu erledigen.
Das Plugin bietet diverse Einstellunge f&#252;r die Darstellung an, diese k&#246;nnen im Backend vorgenommen werden.
Dazu geh&#246;ren:Integration von tags [...]]]></description> <content:encoded><![CDATA[<p>Das Wordpress Plugin TwitterThisPost zeigt unterhalb eines Blogbeitrags einen Link an, der den Beitrag bei Twitter.com ver&#246;ffentlicht.<span
id="more-128"></span></p><p>TwitterThisPost nutzt das <a
href="/blog/short-url-service-update">neuste Feature</a> des i2h <a
href="http://i2h.de">ShortUrl Service</a> um diese Aufgabe &#8220;on the fly&#8221; &#8211; ohne einen zus&#228;tzlichen API-Aufruf zu erledigen.</p><p>Das Plugin bietet diverse Einstellunge f&#252;r die Darstellung an, diese k&#246;nnen im Backend vorgenommen werden.</p><p>Dazu geh&#246;ren:</p><ul><li>Integration von tags als #hashtags und deren Anzahl (nur, wenn die Wordpress Version eigenes Tagging unterst&#252;tzt &#8211; die unz&#228;hligen plugins werden nicht ber&#252;cksichtigt)</li><li>Titel des Beitrags und dessen L&#228;nge</li><li>Link Titel</li><li>zus&#228;tzlicher an Twitter zu postender Text</li><li>wo soll der Link angezeigt werden</li><li>&#8230;</li></ul><p>Um den Button angezeigt zu bekommen, platziere den folgenden Code an bel. Stelle in deinem Template:</p><div
class="wp_codebox"><table><tr
id="p1282"><td
class="code" id="p128code2"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'twitter_this_post'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>twitter_this_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p><a
href="/blog/shorturl/41" target="_blank" rel="nofollow" class="download">Download</a> v0.3</p> ]]></content:encoded> <wfw:commentRss>http://www.naden.de/blog/twitter-wordpress/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>OmniAds &#8211; Wordpress Ads Plugin</title><link>http://www.naden.de/blog/omniads</link> <comments>http://www.naden.de/blog/omniads#comments</comments> <pubDate>Sat, 31 Jan 2009 14:11:21 +0000</pubDate> <dc:creator>naden</dc:creator> <category><![CDATA[Wordpress Plugins]]></category> <category><![CDATA[ad]]></category> <category><![CDATA[ads]]></category> <category><![CDATA[adsense]]></category> <category><![CDATA[adserver]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[plugins]]></category> <category><![CDATA[werbung]]></category> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.naden.de/blog/omniads</guid> <description><![CDATA[Mit OmniAds kannst du jede Art von Werbung an jeder beliebigen Stelle in deinem Wordpress Blog platzieren.
For an english description click here.
&#220;bersichtUnitsHTML-Untis
PHP-Units
FILE-UnitsChannel
Einbindungin Template
Widgets
in Beitr&#228;genDownloadUnits
Eine Unit kann mit beliebigem Adcode bef&#252;llt werden. Dabei werden die folgenden beiden Unit-Typen unterschieden.
HTML-Units
K&#246;nnen Text, Html und Javascript enthalten.
PHP-Units
K&#246;nnen neben Text, Html und Javascript auch PHP-Code enthalten. Da der PHP-Code im [...]]]></description> <content:encoded><![CDATA[<p>Mit OmniAds kannst du jede Art von Werbung an jeder beliebigen Stelle in deinem Wordpress Blog platzieren.<span
id="more-107"></span></p><p><strong><a
href="#english">For an english description click here.</a></strong></p><h4>&#220;bersicht</h4><ul><li>Units<ul><li>HTML-Untis</li><li>PHP-Units</li><li>FILE-Units</li></ul></li><li>Channel</li><li>Einbindung<ul><li>in Template</li><li>Widgets</li><li>in Beitr&#228;gen</li></ul></li><li><a
href="#download">Download</a></li></ul><h4>Units</h4><p>Eine Unit kann mit beliebigem Adcode bef&#252;llt werden. Dabei werden die folgenden beiden Unit-Typen unterschieden.</p><h5>HTML-Units</h5><p>K&#246;nnen Text, Html und Javascript enthalten.</p><h5>PHP-Units</h5><p>K&#246;nnen neben Text, Html und Javascript auch PHP-Code enthalten. Da der PHP-Code im Kontext von Wordpress ausgef&#252;hrd wird, kann man auf beliebige Daten zugreifen. Dadurch kann man sehr fein einstellen, wann und wie Werbung angezeigt werden soll. Allerdings f&#252;hrt eine Fehlerhafte Unit u.U. zu einem Crash. Deshalb Sorgfalt walten lassen!</p><p><strong>Beispiel</strong></p><p>Zeige die Unit nur auf einer Suchergebnisseite an.</p><div
class="wp_codebox"><table><tr
id="p10713"><td
class="code" id="p107code13"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span> <span style="color: #0000ff;">'REQUEST_URI'</span> <span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'?s='</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #666666; font-style: italic;">/* ad code here */</span>
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p>Zeige die Unit nach jedem zweiten Beitrag an.</p><div
class="wp_codebox"><table><tr
id="p10714"><td
class="code" id="p107code14"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$omniads_index</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$omniads_index</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #000088;">$omniads_index</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">++</span><span style="color: #000088;">$omniads_index</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">2</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #666666; font-style: italic;">/* ad code here */</span>
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p>Nutze die Post-Tags</p><div
class="wp_codebox"><table><tr
id="p10715"><td
class="code" id="p107code15"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php
<span style="color: #000088;">$omniads_tags</span> <span style="color: #339933;">=</span> get_the_tags<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/* use tags here */</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p>S&#228;mtliche Daten eines Posts wie Tags, Kategorien, Titel sind verf&#252;gbar.</p><h4>FILE-Units</h4><p>Diese Dateien m&#252;ssen im Unterverzeichnis &lt;omniads&gt;/units/ liegen. Eine Datei mit der Endung .php wird auch als solche behandelt und kann bel. PHP-Code enthalten. Jede andere Dateiendung wie .html oder .txt o.&#228;. wird als Text interpretiert und kann Text, Html, Javascrip, Flash etc. enthalten.</p><h4>Channel</h4><p>Einem Channel k&#246;nnen beliebig viele Units zugeordnet werden. Es wird immer eine Unit per Zufall ausgew&#228;hlt und angezeigt.</p><h4>Einbindung</h4><h4>in Templates</h4><p>Um eine Unit oder einen Channel im Template anzuzeigen musst du an der gew&#252;nschten Stelle den folgenden Code einbinden.</p><p>F&#252;r einen Channel</p><div
class="wp_codebox"><table><tr
id="p10716"><td
class="code" id="p107code16"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'omniads_channel'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> omniads_channel<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'CHANNEL_NAME'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p>F&#252;r eine Unit</p><div
class="wp_codebox"><table><tr
id="p10717"><td
class="code" id="p107code17"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'omniads_unit'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> omniads_unit<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'UNIT_ID'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p>Eine Unit, die dem Channel <em>more</em> zugeordnet ist, wird auf der Detailseite eines Posts direkt nach dem &lt;!&#8211;more&#8211;&gt; &#8211; Tag eingeparst.</p><h4>Widgets</h4><p>Wenn dein Wordpress Theme Widgets unterst&#252;tzt, dann kannst du jede Unit oder jeden Channel in einem Sidebar Widget platzieren.</p><h4>in Beitr&#228;gen</h4><p>Du kannst einen Channel oder eine Unit an jeder Stelle in einem Beitrag oder einer Seite anzeigen lassen.</p><p>F&#252;r einen Channel<br
/> &lt;!&#8211;omniads:CHANNEL_NAME&#8211;&gt;</p><p>F&#252;r eine Unit<br
/> &lt;!&#8211;omniads:UNIT_ID&#8211;&gt;</p><p><a
name="english"></a></p><h4>Description in english</h4><h4>Overview</h4><ul><li>Units<ul><li>HTML-Untis</li><li>PHP-Units</li><li>FILE-Units</li></ul></li><li>Channel</li><li>Integration<ul><li>in Template</li><li>Widgets</li><li>in Posts</li></ul></li><li><a
href="#download">Download</a></li></ul><h4>Units</h4><p>A Unit can containt any adcode you like. OmniAds comes with two differend types ob units.</p><h5>HTML-Units</h5><p>Can contain only Text, Html and Javascript.</p><h5>PHP-Units</h5><p>Can contain Text, Html, Javascript and PHP-Code. The PHP-Code gets executed in the wordpress context. Therefore you can access any kind of information Wordpress knows. Be careful, because poorly coded units can crash the your blog.</p><p><strong>Example</strong></p><p>Show the unit just on the search result page</p><div
class="wp_codebox"><table><tr
id="p10718"><td
class="code" id="p107code18"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span> <span style="color: #0000ff;">'REQUEST_URI'</span> <span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'?s='</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #666666; font-style: italic;">/* ad code here */</span>
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p>Show the unit after every 2nd post.</p><div
class="wp_codebox"><table><tr
id="p10719"><td
class="code" id="p107code19"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$omniads_index</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$omniads_index</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #000088;">$omniads_index</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">++</span><span style="color: #000088;">$omniads_index</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">2</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #666666; font-style: italic;">/* ad code here */</span>
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p>Use the post tags</p><div
class="wp_codebox"><table><tr
id="p10720"><td
class="code" id="p107code20"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php
<span style="color: #000088;">$omniads_tags</span> <span style="color: #339933;">=</span> get_the_tags<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/* use tags here */</span></pre></td></tr></table></div><p>You can access any metadata like posts tags, categories &#8230;</p><h4>FILE-Units<br
/> Those files have to be placen in < Ã¢â‚¬Â¦OmniAdsÃ¢â‚¬Â¦>/units/ A file with the extension .php get&#8217;s executed a normal PHP-Code. Files with different extension like .html or .txt Ã¢â‚¬Â¦ will be interpreted a text and can contain text, html, javascrip, flash &#8230;</p></h4><h4>Channel</h4><p>You can associate as many units as you like with one channel. One unit gets delivered by random.</p><h4>Integration</h4><h4>in templates</h4><p>To show a unit or a channel in the template use the following code:</p><p>channel </pre><div
class="wp_codebox"><table><tr
id="p10721"><td
class="code" id="p107code21"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'omniads_channel'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> omniads_channel<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'CHANNEL_NAME'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p>unit</p><div
class="wp_codebox"><table><tr
id="p10722"><td
class="code" id="p107code22"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'omniads_unit'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> omniads_unit<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'UNIT_ID'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p>A unit associated with a channel named <em>more</em> will be parsed in after the &lt;!--more--&gt; - tag on the detail page of you post.</p><h4>Widgets</h4><p>If your theme is widget ready, you place a unit or a channel in your sidebar.</p><h4>in posts</h4><p>Use the following tags to place a channel or a unit in your post or page.</p><p>channel<br
/> &lt;!--omniads:CHANNEL_NAME--&gt;</p><p>unit<br
/> &lt;!--omniads:UNIT_ID--&gt;</p><p><a
name="download"></a><br
/> <a
href="/blog/shorturl/37" target="_blank" rel="nofollow" class="download">Download</a> OmniAds v0.54</p> ]]></content:encoded> <wfw:commentRss>http://www.naden.de/blog/omniads/feed</wfw:commentRss> <slash:comments>19</slash:comments> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 42/51 queries in 0.088 seconds using disk

Served from: arwen @ 2010-07-31 05:16:34 -->