![]() |
#2626 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
|
![]() |
![]() |
#2627 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2010
Device: nook
|
Everyone here has been so helpful with getting one of my recipes to work. However, I've taken a try at using the command line tester and in Windows I cannot get it to process.
The command line also isn't placing the output in the folder I request, it's rolling that out into my Windows docs on F:, but that could just be my inexpert use of the cmd window. What is bothering me is I sort of get the command line to run in cmd but it stops and says it's looking for the in-built recipe and fails to find it. I thought the point was there didn't have to be one there yet if I was using Notepad++ to edit??? So then the test quits. Code:
ebook-convert F:\Program_Files\Calibre2\Bluffton_Today.recipe F:\Program_Files\Calibre2\blufftonoutput\ --test -vv > bluffton.txt And I've tried a few different variations. Maybe this is a Window's question more than a recipe question, but I have included the errors below from the txt file it generates. Maybe a Windows pro can set me straight? Thanks! Spoiler:
|
![]() |
![]() |
#2628 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
p.s. Also you might wanna run notepad++ as administrator. I had this issue when I was using geany. I would write a recipe and save it and all looked fine but then it never saved. And the reason being is you don't have access to that folder. Again you should be able to solve the issue like i stated. or you could simply move the files outside of the program files directory. Last edited by TonytheBookworm; 09-04-2010 at 04:17 PM. Reason: added ps |
|
![]() |
![]() |
#2629 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2010
Device: nook
|
I will give the admin parts a try. All I know is the more I want to try to make it sophisticated, the faster I break my code. The site I'm working on is a newspaper that wants to be very visual and have a scan of each page to click to navigate. Which makes it harder to pull the articles on the RSS feed front.
I feel a bit bad for the IT guy. They're going to have a bunch of hits from me pressing "download" a bunch of times trying to get this thing to pull a pretty e-book down. |
![]() |
![]() |
#2630 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2010
Device: K3
|
Can anyone get help me get a recipe for JCO? In the table of contents the sections are enclosed in <h2> tags, subsections in <h3> and articles in <h4>. If someone could help with a recipe to parse and download the free abstracts I'm sure I could tweak it for the subscribed full text...
Thanks in anticipation |
![]() |
![]() |
#2631 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2010
Location: Fayetteville, AR USA
Device: Pandigital Novel
|
Recipe for Kansas City Star
My wife is from Kansas City and I'm look for a Recipe for Kansas City Star...
|
![]() |
![]() |
#2632 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Here you go. Kansas City Star
|
![]() |
![]() |
#2633 |
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2010
Device: K3
|
First time poster here...read through most of the pages and trying to make sense of all this.
Using all this data, I made a couple of recipes from things I'm interested in, but they are easier ones as they have rss feeds. Still have lots of extra stuff, I'd appreciate any help anyone could send my way: This gets the basics from hockey news, but lots of extra stuff in each one: class AdvancedUserRecipe1283662436(BasicNewsRecipe): title = u'Hockey News' oldest_article = 7 max_articles_per_feed = 100 feeds = [(u'Hockey News', u'http://www.thehockeynews.com/rss/9-Headlines.xml')] I'd also really appreciate any help (or quite honestly one of you experts stirring up a recipe for me for these local newspapers, listed in order of preference: http://www.journalgazette.net/ http://www.news-sentinel.com/ Further down the list would be trying to find out how to get this column every week: http://www.aspentimes.com/article/20...ntprofile=1061 thanks for any help anyone can provide....just an awesome program! Grateful, Matt |
![]() |
![]() |
#2634 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Anyone know if when you connect to the calibre library (server) through the kindle and download one or more of your books if amazon is charging you a download fee? Can anyone confirm this of yes/no ?
|
![]() |
![]() |
#2635 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2010
Location: Fayetteville, AR USA
Device: Pandigital Novel
|
|
![]() |
![]() |
#2636 |
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2010
Device: K3
|
With huge help from buyo and his template, I made this and I'm really close to getting my local paper. I have all the categories just the way I want them, and the sections of the paper look awesome, but I can't fully read the articles.
Anyone willing to have mercy on a guy who doesn't know what he's doing but it sure trying? I'm guessing that I'm limiting something I shouldn't be. I'd really appreciate the help! class WinnipegFreePress(BasicNewsRecipe): title = u'Journal Gazette' __author__ = 'somedayson' description = 'News from Fort Wayne Indiana' oldest_article = 1 max_articles_per_feed = 30 category = 'News, Fort Wayne, Indiana' cover_url = 'http://media.winnipegfreepress.com/designimages/winnipegfreepress_WFP.gif' no_stylesheets = True encoding = 'UTF-8' remove_javascript = True use_embedded_content = False language = 'en_CA' feeds = [(u'Opinion', u'http://journalgazette.net/apps/pbcs.dll/section?Category=EDIT&template=blogrss&mime=xml'), (u'Local News',u'http://journalgazette.net/apps/pbcs.dll/section?Category=LOCAL&template=blogrss&mime=xml') , (u'Sports',u'http://journalgazette.net/apps/pbcs.dll/section?Category=SPORTS&template=blogrss&mime=xml' ), (u'Features',u'http://journalgazette.net/apps/pbcs.dll/section?Category=FEAT&template=blogrss&mime=xml'), (u'Business',u'http://journalgazette.net/apps/pbcs.dll/section?Category=BIZ&template=blogrss&mime=xml'), (u'Ice Chips',u'http://journalgazette.net/apps/pbcs.dll/section?Category=BLOGS11&template=blogrss&mime=xml '), (u'Entertainment',u'http://journalgazette.net/apps/pbcs.dll/section?Category=ENT&template=blogrss&mime=xml'), (u'Food',u'http://journalgazette.net/apps/pbcs.dll/section?Category=FOOD&template=blogrss&mime=xml') ] keep_only_tags = [ dict(name='div', attrs={'id':'article_header'}), dict(name='div', attrs={'class':'article'}), ] |
![]() |
![]() |
#2637 |
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2010
Device: K3
|
Tony...if you use the [user]@free.kindle.com address, it's sent wi-fi and no charge
If you use 3G and send to [user]@kindle.com there is a charge. (.15 per MB maybe) I've gotten lots of newspapers for free. Just awesome! Hope this helps, Matt |
![]() |
![]() |
#2638 |
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2010
Device: K3
|
Getting even closer.
I can read all the articles now, but there's stuff before and after them that I'm picking up off the web site. I can't figure out how to 1. Get it to the print only page 2. Get the stuff at the beginning (really disruptive for reading) and the end (not as bad but would love to remove it) Thanks for any assistance anyone can provide. I certainly wouldn't mind a little .rar pack with the answer in it either! Grateful either way, Matt class WinnipegFreePress(BasicNewsRecipe): title = u'Journal Gazette' __author__ = 'somedayson' description = 'News from Fort Wayne Indiana' oldest_article = 1 max_articles_per_feed = 30 category = 'News, Fort Wayne, Indiana' cover_url = 'http://media.winnipegfreepress.com/designimages/winnipegfreepress_WFP.gif' no_stylesheets = True encoding = 'UTF-8' remove_javascript = True use_embedded_content = False language = 'en_CA' feeds = [(u'Opinion', u'http://journalgazette.net/apps/pbcs.dll/section?Category=EDIT&template=blogrss&mime=xml'), (u'Local News',u'http://journalgazette.net/apps/pbcs.dll/section?Category=LOCAL&template=blogrss&mime=xml') , (u'Sports',u'http://journalgazette.net/apps/pbcs.dll/section?Category=SPORTS&template=blogrss&mime=xml' ), (u'Features',u'http://journalgazette.net/apps/pbcs.dll/section?Category=FEAT&template=blogrss&mime=xml'), (u'Business',u'http://journalgazette.net/apps/pbcs.dll/section?Category=BIZ&template=blogrss&mime=xml'), (u'Ice Chips',u'http://journalgazette.net/apps/pbcs.dll/section?Category=BLOGS11&template=blogrss&mime=xml '), (u'Entertainment',u'http://journalgazette.net/apps/pbcs.dll/section?Category=ENT&template=blogrss&mime=xml'), (u'Food',u'http://journalgazette.net/apps/pbcs.dll/section?Category=FOOD&template=blogrss&mime=xml') ] |
![]() |
![]() |
#2639 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2010
Device: nook
|
Well, I tried the Ft. Wayne site but it's choking on the URL variable. Maybe someone can run with this.
Spoiler:
|
![]() |
![]() |
#2640 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
I'm not talking about the email thing. I'm talking about if you make calibre run as a webserver and then you go to the webbrowsers on the kindle and then click on the book you wish to read from your server and it automatically download it for you. Was wondering if amazon charges you a data transfer fee.
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom column read ? | pchrist7 | Calibre | 2 | 10-04-2010 02:52 AM |
Archive for custom screensavers | sleeplessdave | Amazon Kindle | 1 | 07-07-2010 12:33 PM |
How to back up preferences and custom recipes? | greenapple | Calibre | 3 | 03-29-2010 05:08 AM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |