01-23-2007, 01:01 AM | #91 |
Addict
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
Given what I'm planning to do it should be possible to write a plug-in for BBeBinder. It's not cast in stone yet but the current interface for back ends is pretty simple.
|
01-23-2007, 01:28 AM | #92 |
Addict
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
It turns out with NYT that if you use the guid elements to get the story you need to login, but if you use the link elements you do not. I have published a working feed for NYT that you can subscribe to.
|
Advert | |
|
01-23-2007, 01:55 AM | #93 |
Addict
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
Newsweek is done and working too....
|
01-24-2007, 05:07 PM | #94 |
Member
Posts: 20
Karma: 10
Join Date: Jan 2007
Device: Sony PRS-500
|
Dear GeekRaver--
Thank you once again for all of your fine work. The New York Times works like a charm. Newsweek is still giving me problems--the .rtf output looks like this: 7 Simple Ideas That Can Save the World 7 Simple Ideas That Can Save the World - Newsweek: International Editions - MSNBC.com .updateTime{font:10px Arial;color:#000000;} .credit{font:10px Arial;color:#999999;} .head{font:bold 18px Verdana;color:#CC0000;} .abstract{font:14px Verdana;color:#000000;} .title{font:bold 12px Verdana;color:#000000;padding:3px 0px 3px 0px;} .source{font:bold 11px Verdana;color:#CC0000;} .footerLink{font:bold 10px Verdana;color:#000000;} .caption{font:10px Verdana;color:#000000;} .textBodyBlack, .copyright{font:12px Verdana;color:#000000;} .copyright{font-style:italic;} var section_name='intl/davos'; I am probably doing something wrong, so if someone can point me in the right direction, I would be much obliged. |
01-24-2007, 05:24 PM | #95 |
Enthusiast
Posts: 32
Karma: 14644
Join Date: Jan 2007
Location: Texas
Device: Kobo Aura One
|
Dear GeekRaver:
I had this feed working fairly well to a file (not direct to the ereader). All of the sudden I am getting a error and program closure in the HTMLDOC v1.8.27 I reinstalled the HTML and the dll's. Rebooted. Still the same error. Can you guide me? Thanks, Phil |
Advert | |
|
01-24-2007, 05:51 PM | #96 |
Enthusiast
Posts: 32
Karma: 14644
Join Date: Jan 2007
Location: Texas
Device: Kobo Aura One
|
GeekRaver:
When feeding to pdf it crashes HTMLDOC. However, when I feed to pdf without checking the HTMLDOC it seems to work. But of course I get no TOC this way. I am going to try it on my laptop again. Any ideas why HTMLDOC is crashing? Cancel that. When I take some of the feeds out it works. I think it is one of the feeds that is causing the problem. Phil |
01-24-2007, 11:19 PM | #97 |
Addict
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
Phil:
htmldoc has a bug with TOCs. I think if the TOC is too big it crashes. You can try reduce the number of TOC levels (specified in the htmldoc options). Fritz: Are you using htmldoc or the built in PDF generator? The built-in one does not strip <script> tags which may be the problem. This is fixed in release 20 which I will probably release earlier than planned with a few features cut; watch this space. |
01-25-2007, 02:19 AM | #98 |
Connoisseur
Posts: 64
Karma: 10558
Join Date: Nov 2006
Device: Sony Reader
|
Geekraver,
If you don't mind, another future feature request: Select all/Deselect all checkbox on the main screen. Just a thought. |
01-25-2007, 04:12 AM | #99 | |
Addict
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
Quote:
|
|
01-25-2007, 09:33 AM | #100 |
Member
Posts: 20
Karma: 10
Join Date: Jan 2007
Device: Sony PRS-500
|
Dear geekraver--
Thank you once again for your help. I changed the options to use HTML doc and to output the format as .pdf. Everything looks as it should. I added a number of feeds from the NY Times, and it is truly fantastic. The Newsweek setting that you created works wonderfully as well. I tried duplicating it for the other sections with the same settings but with differing results. I wonder if the link extraction pattern needs to be different. I am going to look at the feeds to see if I can figure this out. In any event, I am thrilled with the direction this software is going. |
01-25-2007, 11:57 AM | #101 | |
Addict
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
Quote:
[Flags] public enum FontStyle { Normal = 0, Italic = 1, Bold = 2, Underline = 4 } public enum TypeFace { Courier, Helvetica, TimesRoman } public interface IHtmlConverter { string Name // e.g. "PDF" { get; } string Extension // e.g. ".pdf" { get; } void Initialize(int leftMargin, int rightMargin, int topMargin, int bottomMargin, int pageWidth, int pageHeight, TypeFace font, // for normal text int fontSize // for normal text ); void HandleText(string text, TypeFace face, FontStyle style); void FlushParagraph(); // called at <p> elements void LineBreak(); // called at <br> elements void EnterHeader(int level); // called at <h1>, <h2>, etc void ExitHeader(); // called at </h1>, ... void StartUnorderedList(); // called at <ul> void StartOrderedList(); // called at <ol> void FlushListItem(); // called at end of <li> void EndList(); // called at </ul> or </ol> void AddImage(string fname); // called for <img> byte[] GetBytes(); // called at end to get the converted output } The DLL for your plugin needs to have a name starting with "write", and go in the same directory as rss2book.exe. As you can see most entry points are for simple demarcating elements. HandleText is called for the text between elements. Right now the typeface can't change so HandleText will always pass the default typeface through, but the style can change (to combinations of bold and italic). There is a chance I'll make front-ends plug-ins too but that is a much more ambitious project as it requires custom UI for each (I'm thinking things like rss, html, wikipedia, Gutenberg, ...). So writing a back-end converter plug-in is the easiest approach for now. Last edited by geekraver; 01-25-2007 at 12:01 PM. |
|
01-25-2007, 12:15 PM | #102 |
Enthusiast
Posts: 32
Karma: 14644
Join Date: Jan 2007
Location: Texas
Device: Kobo Aura One
|
HTML Crash
Geekraver
You are "His Geekness". It was a TOC problem with one of the feeds. Cutting the levels allows the files to be combined and downloaded. I'll move to 2.0 and send you some $$$. Keep up the good work. Phil |
01-25-2007, 08:46 PM | #103 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2007
Device: Sony PRS-500
|
Ok. So where are the binaries? I don't see them attached to any message on the thread. Am I missing something?
|
01-26-2007, 12:15 AM | #104 |
Addict
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
Sorry, I did upload them, or so I thought, but you're right, they weren't there. They are now.
|
01-26-2007, 05:32 PM | #105 |
Connoisseur
Posts: 64
Karma: 10
Join Date: Sep 2006
|
hello all ,
geekraver good work is it possible to create .pdf format file of the engadget rss feeds for the past 10 days ( http://www.engadget.com/rss.xml ) using this software ? |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
rss2book release 20 now available | geekraver | Sony Reader | 4 | 01-26-2007 01:36 PM |
rss2book release 19 | geekraver | Sony Reader | 2 | 12-30-2006 10:51 AM |
rss2book release 18 | geekraver | Sony Reader | 0 | 12-22-2006 03:57 AM |
rss2book release 16 | geekraver | Sony Reader | 1 | 12-13-2006 05:56 AM |
rss2book release 13 | geekraver | Sony Reader | 0 | 11-13-2006 02:41 AM |