02-20-2009, 07:16 PM | #1 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
Content Server & Kindle?
Has anyone managed to be able to connect to the content server that comes with Calibre with a kindle? It works great from computer & my iphone, but when I try to access it from the kindle, the browser gives the following error:
"There was an error encountered when processing your request." any idea and tips? basically I just would like to get free news/blog update from my kindle(with picture). thank you! |
02-20-2009, 07:20 PM | #2 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Did you expose the server to the internet? You will not be able to browse to your local machine name/ip. You need to use your public ip. You will probably need to modify your router to port forward to your PC, or put your PC in the DMZ (which defeats alot of the advantages of having a router).
BOb |
Advert | |
|
02-20-2009, 07:26 PM | #3 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
yes I did. i tried my laptop & iphone using 3G(turned off my wifi), they could all browse the contents fine from my external IP.
|
02-20-2009, 07:28 PM | #4 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
Do you have the Kindle browser set to advanced mode with javascript enabled? BOb |
|
02-20-2009, 07:33 PM | #5 | |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
Quote:
if it's because there's too much javascript on the page, is there a template file for the content server page I could modify? |
|
Advert | |
|
02-20-2009, 07:45 PM | #6 |
Wearer of Pants
Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
Same problem here. Tested this yesterday, actually.
|
02-20-2009, 07:54 PM | #7 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
|
02-20-2009, 09:15 PM | #8 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Port number should not matter.
|
02-20-2009, 11:17 PM | #9 |
Wearer of Pants
Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
I used 8080, didn't really try anything else. Tried with and without a password/login
|
02-20-2009, 11:31 PM | #10 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Well without a Kindle there's not much I can do to help
|
02-21-2009, 02:18 AM | #11 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
so i just decided to give it another try before going to bed, apparently it is the port issue. It seems like you cannot specify port on the kindle browser, it has to be the browser default port(80).
Although it still got stuck on "loading..." from the content server and it's probably caused by the javascripts, you can easily turn off the server & use apache & write some custom scripts instead. I just downloaded a book with this method and it works just fine. |
02-21-2009, 03:19 AM | #12 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the content server uses AJAX, which is probably disabled in the Kindle browser.
|
02-21-2009, 03:30 AM | #13 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
That's probably the case. Do you have a "dumbed down" version of the frontend for the content server? I think that could benefit a lot of kindle users.
|
02-21-2009, 12:49 PM | #14 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
Is it possible possible to add an "update this feed" link to the first page of the converte mobipocket file similar like the one offered from feedbooks, given that i know where the new feed is located? say the new feed location is "http://www.someserver.com/newfeed"
if so could someone provide a sample for The New Yorker feed listed below? Code:
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic <darko.miletic at gmail.com>' ''' newyorker.com ''' from calibre.web.feeds.news import BasicNewsRecipe class Newyorker(BasicNewsRecipe): title = u'The New Yorker' __author__ = 'Darko Miletic' description = 'Best of the US journalism' oldest_article = 7 max_articles_per_feed = 100 no_stylesheets = False use_embedded_content = False keep_only_tags = [ dict(name='div' , attrs={'id':'printbody' }) ] remove_tags = [ dict(name='div' , attrs={'class':'utils' }) ,dict(name='div' , attrs={'id':'bottomFeatures' }) ,dict(name='div' , attrs={'id':'articleBottom' }) ] feeds = [ (u'The New Yorker', u'http://feeds.newyorker.com/services/rss/feeds/everything.xml') ] def print_version(self, url): return url + '?printable=true' |
02-21-2009, 02:33 PM | #15 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle and Calibre Content Server | JoeFloyd | Amazon Kindle | 26 | 12-09-2015 11:12 PM |
Calibre 0.7.19 content server and kindle 3 problem | tommet | Calibre | 6 | 09-18-2010 05:21 PM |
content server and kindle | TonytheBookworm | Calibre | 1 | 09-17-2010 02:04 AM |
Need help - content server | Sydney's Mom | Calibre | 0 | 08-28-2010 04:07 PM |
re-registering & Kindle content | Kindling | Calibre | 2 | 05-07-2010 10:23 AM |