Script now auto-creates db file and schema
This commit is contained in:
@@ -3,21 +3,16 @@ Publishes RSS/Atom feeds to Diaspora*
|
||||
|
||||
This is a lightweight, customizable "bot" script to harvest RSS/Atom feeds and re-publish them to the Diaspora social network. It is posted here without warranty, for public use.
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
In order to use this script, you must first create a sqlite database, which can be accomplished thusly:
|
||||
You must have the following perl modules installed:
|
||||
|
||||
`$ echo "CREATE TABLE feeds(guid varchar(255) primary key,feed_id varchar(127),title varchar(255),link varchar(255),hashtags varchar(255),timestamp integer(10),posted integer(1));" | sqlite3 feeds.db`
|
||||
|
||||
You must also have the following perl modules installed:
|
||||
|
||||
- LWP::UserAgent
|
||||
- URI::Escape
|
||||
- HTML::Entities
|
||||
- JSON
|
||||
- XML::Simple
|
||||
- DBI
|
||||
- DBD::SQLite
|
||||
- Unicode::Normalize
|
||||
- Getopt::Long
|
||||
|
||||
|
||||
Reference in New Issue
Block a user