View Single Post
Old 10-30-2009, 09:50 AM   #11
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
To be honest, in an extremely inefficient and rounabout way. Because I don't know any scripting or programming language, this is the entire process (batch file) in a nutshell:
- download epub using firefox with imacro plugin (I couldn't figure out how to use wget to download only the latest epub, considering that the filename changes every day), killing it when done
- use ebook-meta to add News tag to epub
- temporarily move current calibre db to different folder
- add epub to calibre with calibredb, forcing it to make a new db and give the epub id 1 (again, because I didn't know how to take the number from the calibredb list command )
- start calibre, which automatically uploads and deletes the epub
- kill calibre when this is done, and restore db folder

I can send you the script(s) I use if you want, but I imagine you'd prefer a slightly more efficient way of doing things
quisvir is offline   Reply With Quote