Bitakora import

Plain Text icon IMPORT.txt — Plain Text, 2 KB (2359 bytes)

File contents

<?xml version="1.0" encoding="ascii" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<base href="http://old.codesyntax.com/bitakora/IMPORT.txt/" />

<meta http-equiv="Content-Type" content="text/html; charset=ascii" />
<meta name="generator" content="Docutils 0.3.4: http://docutils.sourceforge.net/" />
<title>IMPORT.txt</title>
<link rel="stylesheet" href="default.css" type="text/css" />
</head>
<body>
<h1 class="title">IMPORT.txt</h1>
<div class="document" id="import-txt">
<p>You can import your actual blog to Bitakora preparing an XML file with this format:</p>
<pre class="literal-block">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;posts&gt;
 &lt;post&gt;
   &lt;author&gt;  &lt;/author&gt;
   &lt;title&gt;&lt;![CDATA[   ]]&gt;&lt;/title&gt;
   &lt;date&gt;    &lt;/date&gt;
   &lt;body&gt;&lt;![CDATA[    ]]&gt;&lt;/body&gt;
   &lt;tags&gt;&lt;![CDATA[    ]]&gt;&lt;/tags&gt;
   &lt;comments&gt;
     &lt;comment&gt;
       &lt;author&gt;&lt;![CDATA[   ]]&gt; &lt;/author&gt;
       &lt;date&gt;    &lt;/date&gt;
       &lt;body&gt;&lt;![CDATA[    ]]&gt;&lt;/body&gt;
       &lt;url&gt;&lt;![CDATA[   ]]&gt;&lt;/url&gt;
       &lt;email&gt;&lt;![CDATA[   ]]&lt;/email&gt;
     &lt;/comment&gt;
     &lt;comment&gt;
         ...
     &lt;/comment&gt;
   &lt;/comments&gt;
 &lt;/post&gt;
 &lt;post&gt;
     ...
 &lt;/post&gt;
&lt;/posts&gt;
</pre>
<p>The content of the body tag should be in HTML (not structured-text, not reStructuredText), and enclosed in a CDATA section.</p>
<p>To identify diferent tags within &lt;tags&gt;, each tag must be separated by ;. Examples:</p>
<ul class="simple">
<li>&lt;tags&gt;sport;football;arsenal;chelsea&lt;/tags&gt;</li>
<li>&lt;tags&gt;mycat&lt;/tags&gt;</li>
<li>etc</li>
</ul>
<p>I know that it's not very smart to enclose everything in CDATA sections, bat it's the easiest way for avoiding navigators and parsers complaining about '&amp;' and so on.</p>
<p>After preparing that file, you can upload it using 'prefs' tab of your blog admin site.</p>
<p>XML file format and testing contributed by Aitzol Naberan and Peio Arreitu from <a class="reference" href="http://www.atxukale.com">Atxukale.com</a></p>
</div>
</body>
</html>