Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-05-2010, 09:26 PM   #1
TonytheBookworm
Addict
TonytheBookworm is on a distinguished road
 
TonytheBookworm's Avatar
 
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
Two different formats on news feed

Is there a way on the news fetch to make calibre download the news and store it as BOTH epub and mobi? I know I can set the default to whichever format i want but kindle will not read epub and stanza will not read mobi I also know I can manually convert to a different format but I was hoping for something a little more on the "robot" side of life.
TonytheBookworm is offline   Reply With Quote
Old 10-06-2010, 09:05 AM   #2
Tomte
Member
Tomte began at the beginning.
 
Tomte's Avatar
 
Posts: 10
Karma: 10
Join Date: Aug 2010
Device: iPad 2, iPod Touch (2G), Nokia N800
I had this exact question when I first got started with Calibre. In order to accomplish this I had to write a batch file which I have set to run daily using Windows Scheduled Tasks. Here is my batch file, which you can modify to suit your needs:

Thanks for pointing me in the right direction! I have my batch file for Windows XP Home written and working; it may not be the most elegant, but I post it here in case others are interested:

REM --------------------------------------------
REM Set a variable called TODAY with today's date
REM --------------------------------------------
REM
for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set year=%%c
for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set month=%%a
for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set day=%%b
set TODAY=%year%-%month%-%day%
REM
REM --------------------------------------------
REM Change directories
REM --------------------------------------------
REM
cd "C:\Program Files\Calibre2\resources\recipes"
REM
REM --------------------------------------------
REM Grab all the recipes for today
REM --------------------------------------------
REM
start /wait ebook-convert usatoday.recipe "C:\Program Files\Calibre2\resources\mynews\usatoday\%today%.u satoday.mobi"
start /wait ebook-convert usatoday.recipe "C:\Program Files\Calibre2\resources\mynews\usatoday\%today%.u satoday.epub"
REM
REM --------------------------------------------
REM List the Database contents and add new files
REM --------------------------------------------
REM
start /wait calibredb list
start /wait calibredb add -1 -d "C:\Program Files\Calibre2\resources\mynews\usatoday"
REM
REM --------------------------------------------
REM Make a backup and clean working directory
REM --------------------------------------------
REM
copy "C:\Program Files\Calibre2\resources\mynews\usatoday\*.*" "E:\files\eBooks\originals\News\*.*"
del/q "C:\Program Files\Calibre2\resources\mynews\usatoday\*.*"
REM
REM --------------------------------------------
REM Exit Gracefully
REM --------------------------------------------
REM
exit
Tomte is offline   Reply With Quote
Advert
Old 10-06-2010, 09:07 AM   #3
Tomte
Member
Tomte began at the beginning.
 
Tomte's Avatar
 
Posts: 10
Karma: 10
Join Date: Aug 2010
Device: iPad 2, iPod Touch (2G), Nokia N800
for more discussion on this, see https://www.mobileread.com/forums/showthread.php?t=95128
Tomte is offline   Reply With Quote
Old 10-06-2010, 11:51 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use two calibre installs.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
News Feed Covers DenverReader Calibre 4 02-06-2010 12:00 AM
News feed scheduling nickredding Calibre 1 01-24-2010 07:28 PM
The New Yorker news feed yekim54 Calibre 5 05-25-2009 09:33 PM
News feed error thibaulthalpern Calibre 4 03-22-2009 02:21 AM
Need help creating a news feed ficbot Calibre 3 03-18-2009 02:44 AM


All times are GMT -4. The time now is 07:36 AM.


MobileRead.com is a privately owned, operated and funded community.