<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Serendipity - Templates</title>
    <link>http://blog.s9y.org/</link>
    <description>The official Serendipity blog</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:blog@s9y.org" />
    <generator>Serendipity 1.7-alpha1 - http://www.s9y.org/</generator>
    <managingEditor>Jannis Hermanns jannis@gmail.com</managingEditor>
<webMaster>Jannis Hermanns jannis@gmail.com</webMaster>
<pubDate>Tue, 13 Dec 2011 18:07:46 GMT</pubDate>

    <image>
        <url>http://blog.s9y.org/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Serendipity - Templates - The official Serendipity blog</title>
        <link>http://blog.s9y.org/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Spartacus infrastructure change, Developers please read</title>
    <link>http://blog.s9y.org/archives/237-Spartacus-infrastructure-change,-Developers-please-read.html</link>
            <category>Announcements</category>
            <category>Development</category>
            <category>Infrastructure</category>
            <category>Plugins</category>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/237-Spartacus-infrastructure-change,-Developers-please-read.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=237</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=237</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;Since the core Serendipity project is now &lt;a href=&quot;https://github.com/s9y/&quot;&gt;maintained on github.com&lt;/a&gt; and every developer is quite happy about that, we decided to go the jquery-plugins route and delete all Serendipity plugins.&lt;/p&gt;

&lt;p&gt;No, just kidding. We actually imported all data from the SourceForge.net CVS servers into the github infrastructure. The short version for normal end-users: Nothing should change for you!&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/s9y/additional_plugins&quot;&gt;https://github.com/s9y/additional_plugins&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/s9y/additional_themes&quot;&gt;https://github.com/s9y/additional_themes&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All current Serendipity developers also have access to those repositories to contribute code. Developers now no longer should commit code to CVS (actually, they can&#039;t, because I took all their committing karma *eg*).&lt;/p&gt;

&lt;p&gt;The harder task for the Spartacus infrastructure service is the actual publishing of data. The Spartacus plugin operates on a PEAR-like XML format for each plugin, which luckily is automatically generated by a small shellscript which runs once daily on one of our webservers (&lt;a href=&quot;https://github.com/s9y/additional_plugins/blob/master/emerge.sh&quot;&gt;emerge.sh&lt;/a&gt;). That script iterates on a checkout of all plugins and templates, creates the XML and uploads it to all mirror servers (currently netmirror.org, s9y.org and now also github.com).&lt;/p&gt;

&lt;p&gt;Downloading the files also either works via the files that are uploaded daily to netmirror.org and s9y.org, or you always could use the SourceForge.net server, that published the file via a nasty ViewVC oddity. The spartacus plugin of the current github core code (version 2.25) now can also retrieve those files from the Github.com servers.&lt;/p&gt;

&lt;p&gt;For all users that currently use the Spartacus plugin with the SourceForge.Net mirror, our daily script now pushes all changes in the GitHub tree also to CVS, so that both repositories *should* be kept in sync. This is done via the gitclone.sh and gitclone.php scripts in the additional_plugins repository, for anyone that&#039;s interested.&lt;/p&gt;

&lt;p&gt;Most likely, something in this script won&#039;t work properly, so in the next days it might be that some glitches in the matrix can occur. In that case, please report issues and remain seated. Or buy christmas presents for your beloved. Or your beloved developers.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Tue, 13 Dec 2011 14:06:21 +0100</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/237-guid.html</guid>
    
</item>
<item>
    <title>www.serendipity-templates.org</title>
    <link>http://blog.s9y.org/archives/207-www.serendipity-templates.org.html</link>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/207-www.serendipity-templates.org.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=207</wfw:comment>

    <slash:comments>12</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=207</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;Sebastian Spreen contacted us some time ago and offered to help out with a nicer presentation page of Serendipity templates, including some more convenient community features like voting and user-uploads. &lt;/p&gt;

&lt;p&gt;His new website &lt;a href=&quot;http://www.serendipity-templates.org/&quot;&gt;Serendipity-Templates.org&lt;/a&gt; is a nice addition to &lt;a href=&quot;http://spartacus.s9y.org/&quot;&gt;spartacus.s9y.org&lt;/a&gt;, where only a selection of templates is kept for automatted downloads and generic overviews.&lt;/p&gt;

&lt;p&gt;So check out his page and tell him how you like it! The Serendipity team always appreciates the creation of sites dedicated to Serendipity, many thanks to Sebastian!&lt;/p&gt;  
    </content:encoded>

    <pubDate>Mon, 15 Jun 2009 11:54:03 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/207-guid.html</guid>
    
</item>
<item>
    <title>Smarty problem with Serendipity 1.4</title>
    <link>http://blog.s9y.org/archives/203-Smarty-problem-with-Serendipity-1.4.html</link>
            <category>Announcements</category>
            <category>Development</category>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/203-Smarty-problem-with-Serendipity-1.4.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=203</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=203</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;Due to some feedback on the forums, we were made aware of a bug of the bundled &lt;a href=&quot;http://smarty.net/&quot;&gt;Smarty templating engine&lt;/a&gt; that can happen in some PHP environments and lead to PHP warning/error messages.&lt;/p&gt;

&lt;p&gt;If this occurs for you, please simply download an updated version of the file &lt;a href=&quot;http://svn.berlios.de/viewcvs/*checkout*/serendipity/trunk/bundled-libs/Smarty/libs/Smarty_Compiler.class.php&quot;&gt;bundled-libs/Smarty/libs/Smarty_Compiler.class.php&lt;/a&gt; and upload it to your blog directory. Of course we will integrate this update to a future point release of Serendipity.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Tue, 30 Dec 2008 11:15:15 +0100</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/203-guid.html</guid>
    
</item>
<item>
    <title>Serendipity 1.2 released</title>
    <link>http://blog.s9y.org/archives/182-Serendipity-1.2-released.html</link>
            <category>Announcements</category>
            <category>Security</category>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/182-Serendipity-1.2-released.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=182</wfw:comment>

    <slash:comments>11</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=182</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;The Serendipity Team is proud to present the final release and immediate
availability of Serendipity 1.2.&lt;/p&gt;

&lt;p&gt;This release is a feature consolidation release and focuses on small
usability improvements, a shiny new template (bulletproof) as well as
backend templating and backend login mechanisms as well as some tighter
security restrictions.&lt;/p&gt;

&lt;p&gt;Some more changes in depth are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Templates:&lt;/em&gt; The new &lt;strong&gt;bulletproof&lt;/strong&gt; template is an awesome example to
show off Serendipity&#039;s cool template options. This template allows you to
easily configure the look of your Serendipity site: Place navigation links,
choose sidebar layouts, indicate if you want to use/show trackbacks and
comments, pick your custom header image or even custom colorsets. Don
Chambers, Matthias Mees and David Cummins as well as other contributors have
worked very hard on this template that provides an awesome, unified template
structure. Go to their site at &lt;a
href=&quot;http://s9y-bulletproof.com/&quot;&gt;http://s9y-bulletproof.com&lt;/a&gt; to check out the
details!&lt;/li&gt;

&lt;li&gt;&lt;em&gt;Templates:&lt;/em&gt; The admin backend (overview page and entry editor) can now be styled via
Smarty and gives you the full flexibility to make a custom look of the
backend. Plus, more CSS classes have been added to the default admin theme
that make CSS-only changes much easier. Templates now also can have large
preview images by clicking on their thumbnail.&lt;/li&gt;

&lt;li&gt;&lt;em&gt;Usability:&lt;/em&gt; Moved the problematic option to withdraw your own privileges
from personal configuration to the user configuration panel.&lt;/li&gt;

&lt;li&gt;&lt;em&gt;Feature:&lt;/em&gt; Added SQLite3 and PDO:PostgreSQL support.&lt;/li&gt;

&lt;li&gt;&lt;em&gt;Feature:&lt;/em&gt; Allow to configure whether article overviews for a
certain category should include articles of subcategories or not.&lt;/li&gt;

&lt;li&gt;&lt;em&gt;Performance:&lt;/em&gt; Improved SQL performance for archive overview
generation and permalink lookups.&lt;/li&gt;

&lt;li&gt;&lt;em&gt;Plugins:&lt;/em&gt; Plugins can now hook in much earlier to make external
authentication easier (like trough the OpenID plugin).&lt;/li&gt;

&lt;li&gt;&lt;em&gt;Spam:&lt;/em&gt; Enhanced the spamblock plugin with captcha previews,
.htaccess generation and some more options.&lt;/li&gt;

&lt;li&gt;&lt;em&gt;Security:&lt;/em&gt; Stronger autologin cookie encryption and template
option
handling, thanks (once again) to Stefan
Esser. Proper session fixation prevention, thanks to David Vieira-Kurz.&lt;/li&gt;

&lt;li&gt;&lt;em&gt;Bugfix:&lt;/em&gt; Sending pingbacks now properly works.&lt;/li&gt;

&lt;li&gt;&lt;em&gt;Bugfix:&lt;/em&gt; The Track-Exits plugin now properly tracks links in
conjunction with the caching of the entryproperties plugin.&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;The full list of changes can be found in the NEWS-file of the
release.&lt;/p&gt;

&lt;p&gt;You can download the new release as always on the Serendipity homepage at
&lt;a href=&quot;http://www.s9y.org/3.html&quot;&gt;http://www.s9y.org/3.html&lt;/a&gt;. Updating is easy: Just upload the new files,
visit your Serendipity installation and let the upgrader do the rest. &lt;/p&gt;

&lt;p&gt;After the upgrade you might want to purge your browser&#039;s cookies (due to the new
authentication mechanism of Serendipity 1.2) to prevent login problems. Detailed 
upgrade instructions can be found in the FAQ on our website.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enjoy Serendipity, and thanks to everyone who participated in the
release process!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For the team,&lt;br /&gt;
Garvin.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sun, 26 Aug 2007 13:37:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/182-guid.html</guid>
    
</item>
<item>
    <title>Backend Templating</title>
    <link>http://blog.s9y.org/archives/170-Backend-Templating.html</link>
            <category>Development</category>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/170-Backend-Templating.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=170</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=170</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;For Serendipity, only the frontend (what the visitors see) could be subject to Smarty-Templating. One reason for not utilizing these features in the backend was to maintain stability, ease of change for core developers and reduce migration woes so that the Admin Backend would always be accessible.&lt;/p&gt;

&lt;p&gt;What we have now added to the Serendipity 1.2 snapshots (that will soon become public beta and a final release in late Summer) is functionality that allows you to template the backend layout as well as the &#039;New/Edit Entry&#039; screen. Other functions like category manager, plugin manager etc. will remain hardcoded and eventually changed, because most of their look can already be controlled with CSS only.&lt;/p&gt;

&lt;p&gt;To maintain stability and prevent migration problems where Smarty might not be initialized, Serendipity can fall back to the usual PHP-only backend. This is done using a tricky session variable scheme - when Smarty cannot be loaded, a session variable is set, and on the next page call, this variable will force the Serendipity framework to use the fallback routines. Nifty stuff. :-)&lt;/p&gt;

&lt;p&gt;Please try out the new theming possibilites and give feedback. The default admin stylesheet can be found in the &lt;strong&gt;templates/default/admin/index.tpl&lt;/strong&gt; and &lt;strong&gt;templates/default/admin/entries.tpl&lt;/strong&gt; templates, and can be copied to your own theme directory as usual.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Thu, 31 May 2007 12:43:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/170-guid.html</guid>
    
</item>
<item>
    <title>New theme: Adaptation</title>
    <link>http://blog.s9y.org/archives/166-New-theme-Adaptation.html</link>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/166-New-theme-Adaptation.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=166</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=166</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;Alp Uckan has released his theme &lt;a href=&quot;http://alp-uckan.net/blog/2007/05/06/Serendipity-Template-adaptation/&quot;&gt;Adaptation&lt;/a&gt; (german page, layout can be seen on his site). It&#039;s a &quot;content-first&quot; based theme with advanced Serendipity 1.1 design options such as choosing color- and fontsets. It evolves around full CSS and XHTML compatibility and thus providing accessibility options being set by the user in his browser (fontsize, colors etc. are based on browser setup).&lt;/p&gt;

&lt;p&gt;Have a look at this clean template, it&#039;s now also being added to Spartacus! Thanks a lot to Alp for providing his theme to the public.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sun, 06 May 2007 16:35:25 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/166-guid.html</guid>
    
</item>
<item>
    <title>Carl Galloway releases Hemmingway-Theme port</title>
    <link>http://blog.s9y.org/archives/144-Carl-Galloway-releases-Hemmingway-Theme-port.html</link>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/144-Carl-Galloway-releases-Hemmingway-Theme-port.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=144</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=144</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;Carl Galloway has released his &lt;a href=&quot;http://www.carlgalloway.com/archives/205-Hemingway-template-for-Serendipity-Released.html&quot;&gt;port of the Hemmingway Theme&lt;/a&gt; for Serendipity.&lt;/p&gt;

&lt;p&gt;It&#039;s quite bleeding edge and supports various new features of Serendipity 1.1-beta, so check it out! Hooray for Carl. :-)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Wed, 20 Sep 2006 10:31:46 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/144-guid.html</guid>
    
</item>
<item>
    <title>Customizable Plugin Sidebar locations</title>
    <link>http://blog.s9y.org/archives/142-Customizable-Plugin-Sidebar-locations.html</link>
            <category>Development</category>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/142-Customizable-Plugin-Sidebar-locations.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=142</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=142</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;For ages, Serendipity has given users the flexibility to move around plugins in the left/right sidebar. Two sidebars were a usual concept for blogs in the days past, and for surely some more days to come.&lt;/p&gt;

&lt;p&gt;But some themes, like the &lt;a href=&quot;http://warpspire.com/hemingway&quot;&gt;Hemingway&lt;/a&gt; theme give people a different approach to surrounding their blog content. The result of a porting discussion &lt;a href=&quot;http://www.s9y.org/forums/viewtopic.php?p=36792&quot;&gt;on the forums&lt;/a&gt; lead me to patch our plugin API.&lt;/p&gt;

&lt;p&gt;Serendipity 1.1 already support custom theme options (like special navigation bars, colorsets etc.), and what came out of my recent patch is the functionality to define multiple custom sidebars.&lt;/p&gt;

&lt;p&gt;With this, you can add a &quot;top&quot;, &quot;bottom&quot;, &quot;middle&quot; or whatever else sidebar locations to your themes, and put them in the smarty templates using the function {serendipity_printSidebar side=&quot;XXX&quot;} wherever you like.&lt;/p&gt;

&lt;p&gt;It&#039;s as easy as adding a &lt;strong&gt;config.inc.php&lt;/strong&gt; file to your template, add a $template_config array value like this:
&lt;pre&gt;       
$template_config = array(
     array(
       &#039;var&#039;     =&gt; &#039;sidebars&#039;,
       &#039;title&#039;   =&gt; &#039;Sidebars&#039;,
       &#039;type&#039;    =&gt; &#039;string&#039;,
       &#039;default&#039; =&gt; &#039;left,hide,right,bot&#039;
     )
);
&lt;/pre&gt;

(or modify existing config arrays) and save the file. When you now enter your plugin configuration section, you will see each of the sidebar locations next to another, so that you can move around plugins from one to the other location.&lt;/p&gt;

&lt;p&gt;There are two things to watchout: If you use locations other than &#039;left&#039; and &#039;right&#039;, other templates may not output plugins that were put to a location like &#039;bot&#039;. So if you switch templates, you must watch out on where you put your sidebar plugins into.&lt;br /&gt;
The other thing to pay attention: Only use &quot;,&quot; to separate the sidebar item names (no spaces!) and never use more than 6 characters for your locations.&lt;/p&gt;

&lt;p&gt;Please have a test with these new possibilities, tell us if you like it, and show us the results you made with it!&lt;/p&gt;

&lt;p&gt;This functionality has been implemented into recent Serendipity 1.1 nightlies (currently 1.1-beta4)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Tue, 29 Aug 2006 22:37:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/142-guid.html</guid>
    
</item>
<item>
    <title>How to add Hijri dates</title>
    <link>http://blog.s9y.org/archives/134-How-to-add-Hijri-dates.html</link>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/134-How-to-add-Hijri-dates.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=134</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=134</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;Fellow serendipity-user Abdussamad wrote a &lt;a href=&quot;http://abdussamad.com/archives/44-Adding-Hijri-date-to-serendipity-entries.html&quot;&gt;nice Tutorial on how to add Hijri-dates (arabic) to the blog output&lt;/a&gt;. Thanks a lot for your contribution!&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sat, 01 Jul 2006 16:48:15 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/134-guid.html</guid>
    
</item>
<item>
    <title>New PHP and XML/XSLT Template Engines implemented</title>
    <link>http://blog.s9y.org/archives/130-New-PHP-and-XMLXSLT-Template-Engines-implemented.html</link>
            <category>Development</category>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/130-New-PHP-and-XMLXSLT-Template-Engines-implemented.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=130</wfw:comment>

    <slash:comments>9</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=130</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;The past weekend, &lt;a href=&quot;http://www.pixelated-dreams.com/&quot;&gt;Davey&lt;/a&gt; asked me in an IRC chat that he&#039;s put off by &lt;a hrerf=&quot;http://smarty.php.net/&quot;&gt;Smarty&lt;/a&gt; and would like to use Serendipity without it for his next blog design. Mostly because of loosing some overhead.&lt;/p&gt;

&lt;p&gt;I&#039;m basically split oppinion on this: Smarty Templating is a great way to ease things up and unify a templating language that looks better and is more accessible to newbies. So this is basically an advantage that I, as a programmer, am willing to take. But to any one who&#039;s got his looks on grandma&#039;s performance pennies might think otherwise, and might think that PHP itself already is a templating language. Which I can understand. :-)&lt;/p&gt;

&lt;p&gt;Smarty luckily has a pretty, pretty easy API facing towards the User. Basically all that Smarty needs are the &lt;strong&gt;assign&lt;/strong&gt; and &lt;strong&gt;display&lt;/strong&gt; methods. There are some more convenience functions, but let&#039;s disregard those for a moment.&lt;/p&gt;

&lt;p&gt;With that in Mind, I was able to create a PHP &lt;strong&gt;AND&lt;/strong&gt; an XML-Templating Engine for Serendipity, which completely bypasses Smarty by still using the same outward-facing API.&lt;/p&gt;

 &lt;p&gt;All that is needed is a &quot;Smarty Emulation Layer&quot;. This one fakes the &lt;strong&gt;$serendipity[&#039;smarty&#039;]&lt;/strong&gt;-Object in a way that will preserve the same method calls for other template APIs.&lt;/p&gt;

&lt;p&gt;For Serendipity, this ended up in a new &quot;template_api.inc.php&quot; file: &lt;a href=&quot;http://svn.berlios.de/viewcvs/serendipity/trunk/include/template_api.inc.php?view=markup&quot;&gt;SVN Repository&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This file gives you a new class that the Serendipity-Frontend needs to instanciate, and which should be used in your PHP TEmplates then. The existing Smarty-Object calls in the Serendipity-PHP-Code will still be called as usual. Just by putting the variables into the global namespace, you can later access them in the usual *.tpl files. Those can then execute any PHP Code you want. It&#039;s actually pretty much like a Smarty-compiled template, but easier readable. Such a file would then look like &lt;a href=&quot;http://svn.berlios.de/viewcvs/serendipity/trunk/templates/default-php/entries.tpl?view=markup&quot;&gt;this&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;And - yes, I DO think this looks a lot more uglier than the nice Smarty-Themes. But there&#039;s an advantage - several serendipity API calls (like the plugin API) no longer needs to be wrapped through Smarty calls, but can be executed instantly. And that&#039;s good. ;-)&lt;/p&gt;

&lt;p&gt;The other engine I initially talked about is the XML output. The class you need for that is also existing in the new template_api.inc.php file, and is even simpler than the PHP output. All &lt;strong&gt;assign()&lt;/strong&gt; method calls will simply echo their variable to the browser as raw XML.&lt;/p&gt;

&lt;p&gt;This might not sound so terribly exciting at first, but the possibilies are quite interesting: Via (browser- or PHP-based) XSLT transformations you can turn your XML into any XHTML you&#039;d like. Even a simple XSL-Stylesheet might help you out with it already. And it gets really cool if you use different XSL/XSLT files to transform the raw XML to the proper display depending on the User Agent (think mobile application, fat client application - all with the same data base).&lt;/p&gt;

&lt;p&gt;So much for the concept - practically I never had that much of a time with XSLT. Which means this part of the code is more a &quot;proof of concept&quot; part. Anyone who&#039;d like to have a stab at it, please do so and report me. Boris from the Forums already got together a small XSLT file which I&#039;ll try to understand and make available soon. One disadvantage of the current XML transformation is that you cannot use the PHP language constants or plugin API calls in XML. For that you&#039;d need to make your template&#039;s &lt;em&gt;template.inc.php&lt;/em&gt; file call the PHP functions and relay the output to the XML element output. That&#039;s not hard, actually, but it&#039;s some work you&#039;ll have to go through. ;)&lt;/p&gt;

&lt;p&gt;On a completely related side post, thanks to a comment from &lt;a href=&quot;http://www.fadoe.de/&quot;&gt;Falk&lt;/a&gt; I got down and change the &lt;strong&gt;assign()&lt;/strong&gt; calls in Serendipity to &lt;strong&gt;assign_by_ref()&lt;/strong&gt; in cases where it makes sense. This will then pass template variables by reference instead by value, which boils down to this: It saves memory. The memory footprint of my playground installation dropped from 5 MB to 3.4MB. This might possibly introduce some problems, especially with plugins, so if any of those get obvious (like missing output, wrong output, PHP errors) please notice me about that.&lt;/p&gt;

&lt;p&gt;The files were committed to SVN trunk, the 1.1 alpha nightlies. And even if this work is completely redundant: It only took an hour. *g*&lt;/p&gt;

&lt;p&gt;Have fun experimenting!&lt;/p&gt;

&lt;p&gt;(This post was originall written in german on &lt;a href=&quot;http://garv.in/&quot;&gt;my personal blog&lt;/a&gt;.)&lt;/p&gt; 
    </content:encoded>

    <pubDate>Thu, 22 Jun 2006 09:30:31 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/130-guid.html</guid>
    
</item>
<item>
    <title>SourceForge CVS / Spartacus functional again</title>
    <link>http://blog.s9y.org/archives/126-SourceForge-CVS-Spartacus-functional-again.html</link>
            <category>Announcements</category>
            <category>Infrastructure</category>
            <category>Plugins</category>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/126-SourceForge-CVS-Spartacus-functional-again.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=126</wfw:comment>

    <slash:comments>11</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=126</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;The last month has been a hard time for developers on SourceForge.net, because their CVS service went down for good also for developers, and anonymous access was not updated for the time being.&lt;/p&gt;

&lt;p&gt;The Serendipity Spartacus plugin by default uses the SourceForge Servers for downloading plugins and files, and thus this had not worked properly the past month. The first way to fix that problem was to use the &quot;Netmirror.org&quot; file mirror.&lt;/p&gt;

&lt;p&gt;Because of the changes made by the SourceForge team to CVS, their new infrastructure will no longer work with the Spartacus plugin, because they changed Domain and URL locations. Users should either use the Netmirror.org file mirror, or use the latest version of the Spartacus plugin with the new path location: &lt;a href=&quot;http://svn.berlios.de/viewcvs/*checkout*/serendipity/branches/1.0/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php&quot;&gt;serendipity_event_spartacus.php&lt;/a&gt; + &lt;a href=&quot;http://svn.berlios.de/viewcvs/*checkout*/serendipity/trunk/plugins/serendipity_event_spartacus/lang_en.inc.php?rev=690&quot;&gt;lang_en.inc.php&lt;/a&gt;. The patch is fairly easy and just replaces the URL of the server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Attention for Plugin Developers using CVS access&lt;/strong&gt;: SourceForge.net has changed the CVS server from &quot;cvs.sourceforge.net&quot; to &quot;php-blog.cvs.sourceforge.net&quot;. You will either need to check out that new repository, or else use this bash command to search+replace all the old paths to the new paths:&lt;/p&gt;
&lt;strong&gt;&lt;pre&gt;find -name &quot;Root&quot; -exec sed -e &quot;s:@cvs:@php-blog.cvs:g&quot; -i {} \;&lt;/pre&gt;&lt;/strong&gt;
&lt;p&gt;(Many thanks to &lt;a href=&quot;http://blog.usrportage.de/&quot;&gt;lars&lt;/a&gt; for pointing this out to me)&lt;/p&gt;

&lt;p&gt;Read &lt;a href=&quot;https://sourceforge.net/docs/E04&quot;&gt;the Sf.Net docs&lt;/a&gt; for details on the new CVS project service. Other good news is that anonymous CVS access will no only lag 2 hours, not 24 hours.&lt;/p&gt;

&lt;p&gt;Let&#039;s see how this will work out, and my thanks to the SourceForge.Net team who has surely not an easy job providing free access for thousands of projects.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sat, 13 May 2006 11:07:48 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/126-guid.html</guid>
    
</item>
<item>
    <title>May Template Madness</title>
    <link>http://blog.s9y.org/archives/125-May-Template-Madness.html</link>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/125-May-Template-Madness.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=125</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=125</wfw:commentRss>
    

    <author>carlgalloway@gmail.com (Carl Galloway)</author>
    <content:encoded>
    May is shaping up to be a month to be remembered, with four new templates released this month already, two of them coming from fresh new designers to the world of Serendipity. Let&#039;s start with our new designers, &lt;a href=&quot;http://www.bexology.com&quot; &gt;Bex&lt;/a&gt; and &lt;a href=&quot;http://abdussamad.5gigs.com/&quot; &gt;Abdussamad&lt;/a&gt;. 

Both of these designers have created templates that I&#039;m sure will really appeal to people because of their graphical component, &lt;a href=&quot;http://www.bexology.com/index.php?/archives/3-Serendipity-Template-Release-Bex01.html&quot; &gt;Bex01&lt;/a&gt; being a two column template with an eyecatching header and sidebar graphics, while &lt;a href=&quot;http://abdussamad.5gigs.com/index.php?/archives/18-This-bit-of-digital-paper.html&quot; &gt;Stained Paper&lt;/a&gt; is exactly that, a sheet of old parchment forming the background image. If you like either of these designs please comment on the authors sites and give them the encouragement to keep designing.

Myself and Dave have also released new templates this month, Dave with his popular &lt;a href=&quot;http://themes.daves.me.uk/index.php?/archives/29-Matrimony-theme-complete.html&quot; &gt;Matrimony design&lt;/a&gt;, and myself with &lt;a href=&quot;http://www.carlgalloway.com/archives/156-1024px-template-for-serendipity.html&quot; &gt;1024px&lt;/a&gt;, a conversion Andreas Viklund&#039;s html template of the same name.

Are there any other designs we should know about, we really should keep up the momentum in May, why don&#039;t we set a target of ten new templates for this month? 



  
    </content:encoded>

    <pubDate>Fri, 12 May 2006 21:07:50 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/125-guid.html</guid>
    
</item>
<item>
    <title>Andreas06 Theme released for Serendipity</title>
    <link>http://blog.s9y.org/archives/119-Andreas06-Theme-released-for-Serendipity.html</link>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/119-Andreas06-Theme-released-for-Serendipity.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=119</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=119</wfw:commentRss>
    

    <author>carlgalloway@gmail.com (Carl Galloway)</author>
    <content:encoded>
    &lt;img width=&quot;90&quot; height=&quot;69&quot; style=&quot;float: left; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://blog.s9y.org/uploads/andreas06_screenshot.serendipityThumb.png&quot; alt=&quot;&quot;  /&gt;I&#039;m very pleased to announce the release of Andreas06 to the Serendipity community. Andreas06 is a conversion of the very popular &lt;a href=&quot;http://www.oswd.org&quot;  title=&quot;Open Source Web Design&quot;&gt;OSWD&lt;/a&gt; template by Andreas Viklund. The theme features a breadcrumb trail, and a disappearing right column in detail view. Read more and download &lt;a href=&quot;http://www.carlgalloway.com/archives/112-Andreas06-Template-for-Serendipity.html&quot;  title=&quot;Carl&#039;s andreas06 page&quot;&gt;Andreas06&lt;/a&gt;. It will be added to Spartacus, and should be available over the next 48 hours.
  
    </content:encoded>

    <pubDate>Tue, 28 Mar 2006 22:06:05 +0200</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/119-guid.html</guid>
    
</item>
<item>
    <title>And the winner is...</title>
    <link>http://blog.s9y.org/archives/111-And-the-winner-is....html</link>
            <category>Announcements</category>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/111-And-the-winner-is....html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=111</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=111</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;h4&gt;&lt;a href=&quot;http://www.carlgalloway.com/&quot;&gt;Carl Galloway&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;After a very intense &quot;default theme competition&quot; and voting period the last weeks, the winning theme has finally been found.&lt;/p&gt;

&lt;p&gt;&lt;a   rel=&quot;lightbox&quot; href=&quot;http://themes.s9y.org/uploads/carl_frontend.png&quot; style=&quot;float: left; margin-right: 5px&quot;&gt;&lt;img src=&quot;http://themes.s9y.org/uploads/carl_frontend_small.png&quot; alt=&quot;&quot;  /&gt;&lt;/a&gt;&lt;a  style=&quot;float: left&quot;  rel=&quot;lightbox&quot; href=&quot;http://themes.s9y.org/uploads/carl_backend.png&quot;&gt;&lt;img src=&quot;http://themes.s9y.org/uploads/carl_backend_small.png&quot; alt=&quot;&quot;  /&gt;&lt;/a&gt;&lt;br style=&quot;clear: both&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Carl Galloway&lt;/strong&gt; has won the competition with his theme. He got 28 votes (5 extra votes through &quot;commenting&quot;) and placed first. Second place is &lt;a href=&quot;http://themes.daves.me.uk/&quot;&gt;David Cummins&lt;/a&gt; with 20 votes (3 extra), and scoring last but not least is the proud myself with 19 votes. One vote has been cast on the old default design, for the record.&lt;/p&gt;

&lt;p&gt;All three themes will be put into the final Serendipity 1.0 release, with Carl&#039;s theme being elected as the default theme. I think a wise decision has been made which puts Serendipity&#039;s look more up to par with what it can technically achieve.&lt;/p&gt;

&lt;p&gt;Many, many thanks to the contributors of the themes for their enormous efforts complying with the harsh rules. Many thanks for the voters who took the time to constructively criticize the elected themes.&lt;/p&gt;

&lt;p&gt;A small &quot;elite group&quot; consisting of Carl, David, Judebert, Jannis and me will now be going through the template and checking minor details and making some adjustments to the design before we release the 1.0 final release. We will not be able to uphold the February 15th release, but keep your heads up for a soon release.&lt;/p&gt;

&lt;p&gt;The winning theme can still be seen on &lt;a href=&quot;http://themes.s9y.org/&quot;&gt;themes.s9y.org&lt;/a&gt;.&lt;/p&gt;

Have fun,
Garvin  
    </content:encoded>

    <pubDate>Sun, 12 Feb 2006 22:32:06 +0100</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/111-guid.html</guid>
    
</item>
<item>
    <title>Theme Contest Closed! View the submissions!</title>
    <link>http://blog.s9y.org/archives/109-Theme-Contest-Closed!-View-the-submissions!.html</link>
            <category>Announcements</category>
            <category>Templates</category>
    
    <comments>http://blog.s9y.org/archives/109-Theme-Contest-Closed!-View-the-submissions!.html#comments</comments>
    <wfw:comment>http://blog.s9y.org/wfwcomment.php?cid=109</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.s9y.org/rss.php?version=2.0&amp;type=comments&amp;cid=109</wfw:commentRss>
    

    <author>mail@garv.in (Garvin Hicking)</author>
    <content:encoded>
    &lt;p&gt;The Serendipity Theme Contest has closed the announced deadline.&lt;/p&gt;

&lt;p&gt;Three templates were submitted, by Carl Galloway, David Cummins and Garvin Hicking. They can be viewed for public display (frontend and backend) on &lt;a href=&quot;http://themes.s9y.org/&quot;&gt;http://themes.s9y.org/&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;You can &lt;a href=&quot;http://www.s9y.org/forums/viewtopic.php?t=4471&quot;&gt;VOTE ON THE FORUMS&lt;/a&gt;, if you are a registered user to that forum. If you are not, please just drop your vote there as a reply to the entry or as a comment on the blog above. I will collect votes on all three places. You MUST post either your realname or your blog URL for a vote to be officially cast, to prevent duplicate votes. A statement like &quot;I vote for Carl Galloways Design, my name is John Doe&quot; or &quot;I vote for David Cummins Design and my blog is http://blog.s9y.org/&quot; will suffice.&lt;/p&gt;

&lt;p&gt;Several participants of the contest mailed me privately that they were unable to meet the deadline anytime soon, and to have the same chances for everyone, the contest has not been delayed. I hope, those announced themes will be put online in the future.&lt;/p&gt;

&lt;p&gt;The theme with the highest vote count will be used as the new default template. If vote counts for two templates are the same, a run-off ballot will be made.&lt;/p&gt;

&lt;p&gt;Have fun browsing through the submissions. Your oppinion is highly appreciated!&lt;/p&gt;  
    </content:encoded>

    <pubDate>Wed, 08 Feb 2006 12:04:45 +0100</pubDate>
    <guid isPermaLink="false">http://blog.s9y.org/archives/109-guid.html</guid>
    
</item>

</channel>
</rss>

