NAME
blog2dbi - loading blog entries into a database
SYNOPSIS
blog2dbi.pl <options>
blog2dbi.pl --dsn="dbi:mysql:database=somedb;user=somename;table=blogs" --blog_uid='http://some.blogspot.com/'
DESCRIPTION
This script expects an xblog XML document on STDIN, selects the entries therein and stores them into a relational database. (See the distribution for the DB schema.)
Options
Following options HAVE to be provided:
- --dsn=dsn-for-the-database (no default)
-
This specifies to which database to connect, including the table where to store the entries (see above).
- --blog_uid=full-uri-of-blog (no default)
-
To identify different blogs (the database may contain entries from different blog sources) we need a unique identifier. Best is to use the URL for the blog.
AUTHOR INFORMATION
Copyright 200[2], Robert Barta <rho@bond.edu.au>, All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. http://www.perl.com/perl/misc/Artistic.html