BlogMatrix
 

Publish Blogroll Templates

edit David Janes 2004-04-15 15:26 UTC 1  comment  ·

Here's the default templates for the Public Blogroll Tool Extension, just in case you lose the originals:

HTML Blogroll
<div class="blogroll">
#for $category in $categories
<div class="sidetitle">$category</div>
<div class="side">
#for $blog in $blogs
#if $blog.category == $category
<a href="$escape_html($blog.url)">$escape_html($blog.title)</a>
<br/>
#end if 
#end for
</div>
#end for
</div>
OPML Blogroll
<?xml version="1.0" encoding="ISO-8859-1"?>
<opml version="1.0">
<head>
 <title>OPML Blogroll</title>
 <ownerName>Generated from BlogMatrix Jäger</ownerName>
</head>
<body>
 <outline title="Blogroll">
#for $category in $categories
  <outline title=$quote_attribute($category)>
#for $blog in $blogs
#if $blog.category == $category
    <outline 
      title=$quote_attribute($blog.title)
      url=$quote_attribute($blog.url)
#if $blog.syndication_url
      xmlUrl=$quote_attribute($blog.syndication_url)
#end if
    />
#end if
#end for
  </outline>
#end for
 </outline>
</body>
</opml>

Comment #1Sencer

2004-07-17 22:55:39
Short Question for the OPML-Export:

Is there an easy way to automatically add a dateModified Field?

Thanks