<?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>zeitgrund blog &#187; Last Viewed Posts</title>
	<atom:link href="http://blog.zeitgrund.de/category/plugins/last-viewed-posts/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zeitgrund.de</link>
	<description>Fotos und Beobachtungen</description>
	<lastBuildDate>Thu, 20 Nov 2008 18:41:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Plugin Last Viewed Posts</title>
		<link>http://blog.zeitgrund.de/2007/12/08/plugin-last-viewed-posts/</link>
		<comments>http://blog.zeitgrund.de/2007/12/08/plugin-last-viewed-posts/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 14:31:35 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Last Viewed Posts]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://blog.zeitgrund.de/2007/12/08/plugin-last-viewed-posts/</guid>
		<description><![CDATA[Download the latest release (0.7.1) of the plugin Last Viewed Posts
For English description click here 
Beschreibung:
Das Plugin speichert die von einem Besucher angeschauten Beitr&#228;ge (bzw. Seiten) in einem Cookie um dann in einer Liste die zuletzt angeschauten Beitr&#228;ge (Standard: 10) auszugeben.
Jeder Besucher hat seine eigene Auflistung der von ihm angeschauten Einzelbeitr&#228;ge &#8211; es ist keine [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://counter.wordpress-deutschland.org/dlcount.php?id=static&amp;url=/plugins/last_viewed_posts.zip">Download the latest release (0.7.1) of the plugin Last Viewed Posts</a></strong></p>
<p><a href="http://blog.zeitgrund.de/2007/12/08/plugin-last-viewed-posts-english/">For English description click here </a></p>
<p><strong>Beschreibung:</strong><br />
Das Plugin speichert die von einem Besucher angeschauten Beitr&#228;ge (bzw. Seiten) in einem Cookie um dann in einer Liste die zuletzt angeschauten Beitr&#228;ge (Standard: 10) auszugeben.<br />
Jeder Besucher hat seine eigene Auflistung der von ihm angeschauten Einzelbeitr&#228;ge &#8211; es ist keine globale Auflistung aller von Besuchern angeschauten Posts. Es wird auch in der Hinsicht nichts in der Datenbank gespeichert.</p>
<p>Wenn der Besucher keine Cookies akzeptiert oder keine Beitr&#228;ge angeschaut hat, so findet keinerlei Ausgabe statt.</p>
<p><img title="Screenshot" src="http://blog.zeitgrund.de/blogupload/lwp-screenshot.gif" alt="Screenshot" width="199" height="124" /></p>
<p><strong>Download:</strong><br />
<a href="http://counter.wordpress-deutschland.org/dlcount.php?id=static&amp;url=/plugins/last_viewed_posts.zip">last_viewed_posts.zip (3kb)</a></p>
<p><strong>Download:</strong><br />
Das Plugin ben&#246;tigt mindestens WordPress 2.1.<br />
Es wurde erfolgreich mit WordPress 2.7 getestet.</p>
<p><strong>Changelog:</strong><br />
0.6: Erste Ver&#246;ffentlichung.<br />
0.7: Nun k&#246;nnen auch Seiten ber&#252;cksichtigt und in der Liste ausgegeben werden. Au&#223;erdem wird nun kein Loop mehr, sondern eine Datenbankabfrage f&#252;r die Ausgabe genutzt.<br />
0.7.1: Es wurde eine denkbare Sicherheitsschw&#228;che behoben &#8211; es wird sichergestellt, dass aus dem Cookie nur Zahlen (die IDs der Seiten/Eintr&#228;ge) ausgelesen und aus der Datenbank abgefragt werden.</p>
<p><strong>Benutzung:</strong><br />
Solange das Plugin aktiviert ist, wird bei jedem Aufruf eines einzelnen Beitrags dies in einem Cookie beim Besucher gespeichert.<br />
Die Ausgabe erfolgt nur, wenn man das Widget oder den Template Tag benutzt (siehe unten).</p>
<p>Lade die ZIP-Datei herunter und entpacke sie. Via FTP &#252;bertr&#228;gst die last_viewed_posts.php dann auf deinem Server in das/wp-content/plugins/ Verzeichnis.<br />
Anschlie&#223;end kannst du das Plugin im Adminmen&#252; aktivieren.</p>
<p>Um dann die Ausgabe zu aktivieren, nutze, falls du Widgets verwendest, das entsprechende Widget (Last Viewed Posts) oder f&#252;ge folgenden Code an gew&#252;nschter Stelle (au&#223;erhalb des Loops), z.B. in der sidebar.php, in dein Theme ein:</p>
<p><code>&lt;?php if (function_exists('zg_recently_viewed')): if (isset($_COOKIE["WP-LastViewedPosts"])) { ?&gt;<br />
&lt;h2&gt;Last viewed posts&lt;/h2&gt;<br />
&lt;?php zg_recently_viewed(); ?&gt;<br />
&lt;?php } endif; ?&gt;</code></p>
<p>Der eigentliche Template Tag f&#252;r die Ausgabe sieht aus folgenderma&#223;en aus:<br />
<code>&lt;?php zg_recently_viewed(); ?&gt;</code><br />
Ich empfehle aber den oberen Code zu nutzen, damit keine leere Liste angezeigt wird, wenn der Besucher keine Cookies akzeptiert hat oder keine Beitr&#228;ge anschaute.</p>
<p>Das Cookie verf&#228;llt standardm&#228;&#223;ig nach 360 Tagen, angezeigt werden die letzten zehn besuchten Beitr&#228;ge und Seiten werden ber&#252;cksichtigt. Diese Werte k&#246;nnen in der last_viewed_posts.php ge&#228;ndert werden. Einfach dazu die Zahlenwerte zwischen <em>=</em> und <em>;</em> ver&#228;ndern bzw. <em>true</em> in <em>false</em> &#228;ndern:</p>
<p><code>$zg_cookie_expire = <span style="color: #0f0000;">360</span>; // After how many days should the cookie expire? Default is 360.<br />
$zg_number_of_posts = <span style="color: #0f0000;">10</span>; // How many posts should be displayed in the list? Default is 10.<br />
$zg_recognize_pages = <span style="color: #0f0000;">true</span>; // Should pages to be recognized and listed? Default is true.</code></p>
<p>Das Plugin steht unter der <a href="http://www.gnu.org/licenses/gpl.html">GPL Version 3</a>.</p>

]]></content:encoded>
			<wfw:commentRss>http://blog.zeitgrund.de/2007/12/08/plugin-last-viewed-posts/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Plugin Last Viewed Posts (english)</title>
		<link>http://blog.zeitgrund.de/2007/12/08/plugin-last-viewed-posts-english/</link>
		<comments>http://blog.zeitgrund.de/2007/12/08/plugin-last-viewed-posts-english/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 13:59:03 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[Last Viewed Posts]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://blog.zeitgrund.de/2007/12/08/plugin-last-viewed-posts-english/</guid>
		<description><![CDATA[Download the latest release (0.7.1) of the plugin Last Viewed Posts
For German description click here / f&#252;r deutsche Beschreibung hier klicken
Description:
This plugin displays the posts (or pages) that have been recently viewed by the visitor (single view).
The posts are saved in in a cookie and by default the last 10 posts that have been visited [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://counter.wordpress-deutschland.org/dlcount.php?id=static&#038;url=/plugins/last_viewed_posts.zip">Download the latest release (0.7.1) of the plugin Last Viewed Posts</a></strong></p>
<p><a href="http://blog.zeitgrund.de/2007/12/08/plugin-last-viewed-posts/">For German description click here / f&#252;r deutsche Beschreibung hier klicken</a></p>
<p><strong>Description:</strong><br />
This plugin displays the posts (or pages) that have been recently viewed by the visitor (single view).<br />
The posts are saved in in a cookie and by default the last 10 posts that have been visited are displayed.<br />
Note that this is NOT a global listing of recently viewed posts by all users! Nothing is stored in the database.<br />
Every vistor has his own unique listing of the single posts he has viewed.</p>
<p>If cookies are not accepted or no single post has been clicked, no output will be displayed.<br />
The plugin comes with a widget and a template tag.</p>
<p><img src="http://blog.zeitgrund.de/blogupload/lwp-screenshot.gif" width="199" height="124" alt="Screenshot" title="Screenshot" /></p>
<p><strong>Download:</strong><br />
<a href="http://counter.wordpress-deutschland.org/dlcount.php?id=static&#038;url=/plugins/last_viewed_posts.zip">last_viewed_posts.zip (3kb)</a></p>
<p><strong>Compatiblity:</strong><br />
This Plugin needs at least WordPress 2.1 but is compatible up to WordPress 2.7.</p>
<p><strong>Changelog:</strong><br />
0.6: First public release.<br />
0.7: Pages can now be recognized (optional). Custom Loop is not longer used. Now we make a database query to get the post title.<br />
0.7.1: Post/Page ID values in cookie are sanitized for output. </p>
<p><strong>Use:</strong><br />
Viewed posts are always tracked as long as the plugin is active and the visitor has enabled the cookies.</p>
<p>Download and unzip the plugin file. Upload last_viewed_posts.php to your /wp-content/plugins/ directory.<br />
Go to the admin backend and activate the plugin.</p>
<p>To display the list, you can use the widget that comes with the plugin or use the following code and place it anywhere you want to, but outside the loop, e.g. sidebar.php :</p>
<p><code>&lt;?php if (function_exists('zg_recently_viewed')):  if (isset($_COOKIE[&quot;WP-LastViewedPosts&quot;])) { ?&gt;<br />
&lt;h2&gt;Last viewed posts&lt;/h2&gt;<br />
&lt;?php zg_recently_viewed(); ?&gt;<br />
&lt;?php }  endif; ?&gt;</code></p>
<p>The single template tag is shown below, but I recommend to use the code shown above.<br />
It prevents you from displaying a blank list if the visitor has cookies disabled or did not view any single post yet.<br />
<code> &lt;?php zg_recently_viewed(); ?&gt;</code></p>
<p>By default the cookie expires after 360 days and the number of entries that are displayed is 10.<br />
To change these values, edit the last_viewed_posts.php between the equals sign and the semicolon:<br />
<code>$zg_cookie_expire = <span style="color: #f00;">360</span>; // After how many days should the cookie expire? Default is 360.<br />
$zg_number_of_posts = <span style="color: #f00;">10</span>; // How many posts should be displayed in the list? Default is 10.<br />
$zg_recognize_pages = <span style="color: #f00;">true</span>; // Should pages to be recognized and listed? Default is true.</code></p>
<p>This Plugin is released under the <a href="http://www.gnu.org/licenses/gpl.html">GPL</a>.</p>

]]></content:encoded>
			<wfw:commentRss>http://blog.zeitgrund.de/2007/12/08/plugin-last-viewed-posts-english/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
