<?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>Christophe Nowicki &#187; Danbooru</title>
	<atom:link href="http://www.csquad.org/tag/danbooru/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csquad.org</link>
	<description>Just for fun</description>
	<lastBuildDate>Thu, 29 Jul 2010 19:42:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Danbooru mass upload script</title>
		<link>http://www.csquad.org/2009/05/24/danbooru-mass-upload-script/</link>
		<comments>http://www.csquad.org/2009/05/24/danbooru-mass-upload-script/#comments</comments>
		<pubDate>Sun, 24 May 2009 18:06:21 +0000</pubDate>
		<dc:creator>cscm</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Danbooru]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.csquad.org/?p=94</guid>
		<description><![CDATA[Danbooru, is a powerful image board system with tagging.
It is built on RubyOnRails.
The main propose of this application is hentai pictures management^W^W^Wnice pictures management  
I use it for invoice management (I swear   ).
I scan all my invoices with a scanner and upload them on my local Danbooru.
The tag system is very powerful [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://trac.donmai.us/">Danbooru</a>, is a powerful image board system with tagging.<br />
It is built on <a href="http://rubyonrails.org/">RubyOnRails</a>.<br />
The main propose of this application is hentai pictures management^W^W^Wnice pictures management <img src='http://www.csquad.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I use it for invoice management (I swear <img src='http://www.csquad.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ).<br />
I scan all my invoices with a scanner and upload them on my local Danbooru.<br />
The tag system is very powerful and you can find pictures very quickly.<br />
You can setup you own version of Danbooru, an howto <a href="https://help.ubuntu.com/community/Danbooru">is available on the Ubuntu wiki</a>.</p>
<p>The big power of this software is his <a href="http://danbooru.donmai.us/help/api">REST API</a>, you can do everything remotely with it.<br />
There is an <a href="http://unbuffered.info/danbooruup/">Mozilla Firefox plugin</a> for uploading pictures, but I need a mass upload script for my documents.</p>
<p>So I&#8217;ve wrote my own mass upload script in Python : <a href="http://svn.csquad.org/danbooru_upload/danbooru_upload.py">http://svn.csquad.org/danbooru_upload/danbooru_upload.py</a>.</p>
<h3>Features</h3>
<p><code>$ danbooru_upload.py<br />
Usage:<br />
        danbooru_upload.py [flags] [options] directory<br />
        where valid flags are:<br />
         -v - verbose mode<br />
         -r - recursive mode<br />
         -s - use https<br />
        and valid options are:<br />
         -t keywords - image keywords (tagme)<br />
         -h host     - hostname (danbooru.donmai.us)<br />
         -u user     - username<br />
         -p pass     - password<br />
         -k key_file - ssl key file<br />
         -c cert_file- ssl cert file<br />
</code></p>
<h3>Exemple</h3>
<p><code> $ python danbooru_upload.py  -v -h danbooru.csquad.lan -u test -p xxxx "/sgoinfre/documents/A Trier"<br />
Login on danbooru.csquad.lan with user test...<br />
Uploading file /sgoinfre/documents/A Trier/img167.jpg with tag tagme.<br />
Uploading file /sgoinfre/documents/A Trier/img097.jpg with tag tagme.<br />
Uploading file /sgoinfre/documents/A Trier/img161.jpg with tag tagme.<br />
Uploading file /sgoinfre/documents/A Trier/img117.jpg with tag tagme.<br />
Uploading file /sgoinfre/documents/A Trier/img021.jpg with tag tagme.<br />
Uploading file /sgoinfre/documents/A Trier/img151.jpg with tag tagme.<br />
Uploading file /sgoinfre/documents/A Trier/img047.jpg with tag tagme.<br />
Uploading file /sgoinfre/documents/A Trier/img169.jpg with tag tagme.<br />
Uploading file /sgoinfre/documents/A Trier/img157.jpg with tag tagme.<br />
Uploading file /sgoinfre/documents/A Trier/img119.jpg with tag tagme.<br />
...<br />
</code></p>
<h3>Bug reports</h3>
<p>I’ve planned to add an Optical character recognition (OCR) feature to the script. In order to automaticaly tag my invoices.</p>
<p>Please feel free to ask any other feature. Patches and bug reports are welcome <img src='http://www.csquad.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.csquad.org/2009/05/24/danbooru-mass-upload-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
