<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE rdf:RDF [
<!ENTITY % HTMLlat1 PUBLIC
 "-//W3C//ENTITIES Latin 1 for XHTML//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
]>
<rdf:RDF
 xmlns="http://purl.org/rss/1.0/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:admin="http://webns.net/mvcb/"
>
<channel rdf:about="http://rignesnet.tzo.com/archives/cat_1.xml">
<title>Brian's Blog</title>
<link>http://rignesnet.tzo.com</link>
<description>Random Thoughts and Comments</description>
<dc:language>en-us</dc:language>
<dc:creator>n1xt3r</dc:creator>
<dc:date>2009-07-09T13:48:29-04:00</dc:date>
<admin:generatorAgent rdf:resource="http://nanoblogger.sourceforge.net" />
<items>
<rdf:Seq>
<rdf:li rdf:resource="http://rignesnet.tzo.com/archives/2004-11-20T11_13_11.html" />
<rdf:li rdf:resource="http://rignesnet.tzo.com/archives/2004-11-18T23_43_12.html" />
<rdf:li rdf:resource="http://rignesnet.tzo.com/archives/2004-11-18T00_19_13.html" />
<rdf:li rdf:resource="http://rignesnet.tzo.com/archives/2004-11-07T18_52_16.html" />
</rdf:Seq>
</items>
</channel>
<item rdf:about="http://rignesnet.tzo.com/archives/2004-11-20T11_13_11.html">
<link>http://rignesnet.tzo.com/archives/2004-11-20T11_13_11.html</link>
<title>Picture of the Day</title>
<dc:date>2004-11-20T11:13:11-04:00</dc:date>
<dc:creator>Brian Reichert</dc:creator>
<dc:subject>NanoBlogger Help</dc:subject>
<description><![CDATA[<p>
<i>Edited for clarity 11/29/04.</i>
</p>
<p>While exploring Nanoblogger I came across a cool plugin that lets you include a picture in your entries.  It's a recent release and the author hasn't written much documentation yet, so I thought I'd put here how I got it working here.  It's not hard at all.</p>
<p>
First, I <a
href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1067609&amp;group_id=103576&amp;atid=638734"
target="_blank">downloaded</a> the plugin and copied it to where I have Nanoblogger
installed.  Then I untared it which should put everything where it needs to be
in the plugins directory.  After that I edited the picture.sh that was put into
plugins/entry, searched for http and changed the URLs I found to point to my
blog.  I only changed up to the occurrence of /$ARCHIVES and left everything
else alone.  After that I changed to my images directory and did a <b>mkdir
small</b>.  Finally, I edited entry.htm and permalink_entry.html in my
templates directory and added $NB_Picture just above the line containing $NB_EntryBody. 
</p>
<p>
Now, at this point I just copied the picture of my choice to my blog_dir and
added an entry.  In this case a picture of my wife and youngest daughter.  The
picture needs to be either a png or jpg and be called
<b><code>current.jpg</code></b> or <b><code>current.png</code></b>.  I noticed
it uses imagemagick to convert pictures so if you get an error like I did then
check that you have imagemagick installed and working.  I run Slackware so it
was just a matter of downloading the slackpack and installing it.
</p>
<p>
Also you will have to replace all occurences of
"http://cgi.ethz.ch/~scdaniel/weblog/" in plugins/entry/picture.sh with
"http://<i>your.blog.url</i>" before it will work. 
</p>
<p>
I'm not the author so I don't know specifically what the plugin does but I did
observe that it takes the <b><code>current.{jpg,png}</code></b> and renames it to the same
format as your articles permalink.  In the case of this entry the image was
renamed from current.jpg to 2004-11-20T11_13_11.jpg and moved to [blog_dir]/images while a
thumbnail by the same name was created in [blog_dir]/images/small.  The
original current.{jpg,png} file is then not in your blog_dir anymore.  If you want
to link to the image in your blog manually you'll have to reference it in
[blog_dir]/images.  ie <b><code>&lt;img
src="<i>[blog_dir]</i>/images/2004-11-20T11_13_11.jpg"&gt;</code></b>  
</p>
<p>
I hope I have this accurate.  If there is anything wrong shoot me an <a
href="mailto:rignes@ptd.net">E-mail</a> and I'll fix it.  The plugin can be
found at <a
href="http://sourceforge.net/tracker/?atid=638734&amp;group_id=103576&amp;func=browse">sourceforge.net</a>
</p>]]></description>
</item>
<item rdf:about="http://rignesnet.tzo.com/archives/2004-11-18T23_43_12.html">
<link>http://rignesnet.tzo.com/archives/2004-11-18T23_43_12.html</link>
<title>cgicomment and Nanoblogger</title>
<dc:date>2004-11-18T23:43:12-04:00</dc:date>
<dc:creator>Brian Reichert</dc:creator>
<dc:subject>NanoBlogger Help</dc:subject>
<description><![CDATA[I've finally managed to get cgicomment to work with Nanoblogger.  I knew it was possible since I saw other blogs using it.  However, the Nanoblogger docs assume you are putting your blog in a directory below your servers root.  As in, it assumes you want to put your blog in http://rignesnet.tzo.com/[blog_dir] instead of right in http://rignesnet.tzo.com/.
<br /><br />
The docs show to add two lines like:
<br /><br />
<pre>
BASE_DIR=../cgicomment/
ARTICLEDIR=../[blog_dir]
</pre>
<br /><br />
My first inclination was to set ARTICLEDIR=../ thinking it would find the root of my site.  But all it did was complain about not being able to find the article, even though the URL's were all correct.  Eventually it dawned on me to set ARTICLEDIR=../htdocs/ and comments worked perfectly.]]></description>
</item>
<item rdf:about="http://rignesnet.tzo.com/archives/2004-11-18T00_19_13.html">
<link>http://rignesnet.tzo.com/archives/2004-11-18T00_19_13.html</link>
<title>Thoughts on Nanoblogger</title>
<dc:date>2004-11-18T00:19:13-04:00</dc:date>
<dc:creator>Brian Reichert</dc:creator>
<dc:subject>NanoBlogger Help</dc:subject>
<description><![CDATA[So far <a href="http://nanoblogger.sf.net">Nanoblogger</a> is very nice and super simple to use.  Somehow though I think running a blog will get easier once I learn some actual HTML other than what I can remember from my old Descent site.  I'd like to customize the Nanoblogger templates some when I get the time and the know how though the default layout is nice enough.  At least I managed to get the smiley faces working. <img src="http://rignesnet.tzo.com/moods/smilies/grin.gif" alt=":D" border="0" /> It's not totally obvious in the docs but you must set MOODS_URL in your blog.conf file to point to where you have the moods directory.
<br /><br />
The next thing to try out will be setting up comments support.]]></description>
</item>
<item rdf:about="http://rignesnet.tzo.com/archives/2004-11-07T18_52_16.html">
<link>http://rignesnet.tzo.com/archives/2004-11-07T18_52_16.html</link>
<title>Welcome to NanoBlogger!</title>
<dc:date>2004-11-07T18:52:16-04:00</dc:date>
<dc:creator>n1xt3r</dc:creator>
<dc:subject>NanoBlogger Help</dc:subject>
<description><![CDATA[<p>The basic syntax is: <code>nb [-b blog_dir] [options]</code></p>
<b>How to ...</b>
<ul>
<li>create a new weblog (directory) = <code>nb -b [blog_dir] -a</code></li>
<li>create a new entry = <code>nb -a</code></li>
<li>create a new category = <code>nb -c <em>new</em> -a</code></li>
<li>create a new entry for a category = <code>nb -c [cat_id] -a</code></li>
<li>list current entries = <code>nb -l [current|all]</code></li>
<li>list categories = <code>nb -l <em>cat</em></code></li>
<li>list entries by category = <code>nb -c [cat_id] -l [current|all]</code></li>
<li>edit an entry = <code>nb -e [entry_id]</code></li>
<li>move an entry to a category = <code>nb -c [cat_id] -m [entry_id]</code></li>
<li>delete an entry = <code>nb -d [entry_id]</code></li>
<li>delete a category = <code>nb -c [cat_id] -d <em>cat</em></code></li>
<li>delete an entry from a category = <code>nb -c [cat_id] -d [entry_id]</code></li>
<li>force update of weblog = <code>nb -u [current|all|main]</code></li>
</ul>
<p>
Thank you for trying NanoBlogger.  Please direct comments and suggestions to the <a href="http://groups.yahoo.com/group/nanoblogger/">mailing list</a> or submit a bug report to the <a href="http://sourceforge.net/tracker/?atid=635240&amp;group_id=103576&amp;func=browse">project page</a> on sourceforge.net.
</p>]]></description>
</item>
</rdf:RDF>
