feed2lj-0.0.2: feed2lj.cabal
name: feed2lj
version: 0.0.2
synopsis: Cross-post any RSS/Atom feed to LiveJournal
description: A script to cross-post any RSS/Atom Feed to LiveJournal.
.
All HTML tags are merely stripped from the original. By
default the script takes only the first 5 sentences of
the original message. You may need to edit source to change
this behaviour.
.
CONFIGURATION
.
Create a file named `~/.ljpass` with your LJ login
(`username`) and `password`. GUIDs of the processed
message are saved to the file defined by `sentfile`.
Additionally, define an HTML `template` of the cross-posted
messages as they should appear in LJ.
.
For example:
.
> username=myljlogin
> password=myljpassword
> sentfile=/path/to/file/where/crossposted/GUIDs/are/saved
> template=<p>%text%</p><p>( <a href="%link%" title="%title%">more</a> )</p>
.
USAGE
.
> $ feed2lj http://example.com/rss.xml
stability: experimental
category: Web
license: BSD3
license-file: LICENSE
author: Sergey Astanin
maintainer: s.astanin@gmail.com
homepage: http://bitbucket.org/jetxee/feed2ljhs/
bug-reports: http://bitbucket.org/jetxee/feed2ljhs/issues/
tested-with: GHC == 6.10
cabal-version: >= 1.2
build-type: Simple
flag nano-md5
description: Use MD5 digest from OpenSSL bindings (default: use pureMD5)
default: False
executable feed2lj
main-is: Feed2Lj.hs
other-modules: LjPost
extensions: CPP
build-depends: haskell98
, base >= 3 && < 5
, old-locale, directory, time
, utf8-string, regex-posix
, HTTP, curl, feed
if flag(nano-md5)
build-depends: nano-md5
cpp-options: -DNANOMD5
else
build-depends: pureMD5
cpp-options: -DPUREMD5