11-03-2013, 05:12 PM | #2056 | |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
|
|
11-03-2013, 10:28 PM | #2057 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Just compared the source I sent with what is in the plugin. You dropped the recognition of the details page. And I was getting the chapters from the details page. I based this on the finestories.com adapter. It reads the details page, not the index and it works for stories in the library. OK, if the story URL ends with ":i", it goes to the index page all the time. So, http://storiesonline.net/s/69022:i would work. But, this URL is not picked up by either adapter. Again, I thought I had this working, but I just tried my code and it isn't. Changing the last part of the pattern to "\d+(\d+|i))?(;\d+)?$" fixes this. I just noticed both adapters are reading the authors page to get some of the details. It can get it all from the details page. I'll try and have a better look when I get home tonight. |
|
Advert | |
|
11-04-2013, 01:05 AM | #2058 | |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
|
|
11-04-2013, 02:36 AM | #2059 | |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Quote:
I only use polish books to update the cover and metadata in the book files. Dancer |
|
11-04-2013, 06:38 AM | #2060 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
In that case it makes sense to use the index page. But, it looks like adding ":i" to the link will always get the index page.
|
Advert | |
|
11-04-2013, 07:30 AM | #2061 | ||
Addict
Posts: 245
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Cybook Diva
|
Quote:
Quote:
No worries, that was just a suggestion; after all, just calling the underlying functions of Polish Book should cut down on the amount of code in your own plugin. But I don't even know if it's possible to use the Polish Book functions without also calling its UI. |
||
11-04-2013, 01:02 PM | #2062 | |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
UPDATE Nov 4, 2013 - Remove obsolete beta versions Last edited by JimmXinu; 11-04-2013 at 10:28 PM. Reason: Remove obsolete beta versions |
|
11-04-2013, 01:03 PM | #2063 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Okay, I'll drop this idea then.
|
11-04-2013, 04:13 PM | #2064 |
Member
Posts: 12
Karma: 10
Join Date: Nov 2013
Device: iphone 5
|
|
11-04-2013, 05:46 PM | #2065 | |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
I don't have a premium account for storiesonline.net and I don't plan to get one. If I get the saved page I asked for I'll look at it again, but until then I've done what I can with the information I have. Besides, the released version works if you take the story out of 'My Library', doesn't it? |
|
11-04-2013, 10:11 PM | #2066 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
I have attached a version of the adapter that fixes both of these. I also changed the site URL pattern to accept the link page URL with the ":i" on it. |
||
11-04-2013, 10:27 PM | #2067 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Attached is a test version with davidfor's latest fixes for storiesonline.net.
UPDATE Nov 5, 2013 - Remove obsolete beta versions Last edited by JimmXinu; 11-05-2013 at 04:27 PM. Reason: Remove obsolete beta versions |
11-05-2013, 12:18 PM | #2068 |
Member
Posts: 12
Karma: 10
Join Date: Nov 2013
Device: iphone 5
|
Attached file contains log file for FFDL Process and index and 2 chapters of the tried url.
Thanks for your hard work |
11-05-2013, 04:27 PM | #2069 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Oh good grief--storiesonline.net paginates chapters?! That's a whole new level of nuisance. It's a good thing that's already implemented--I don't think I would have had the patience.
Attached is a version that fixes fidofido300's most recent problem. (Which wasn't the same problem from this posted log.) UPDATE Nov 5, 2013 - Remove obsolete beta versions Last edited by JimmXinu; 11-05-2013 at 11:36 PM. Reason: Remove obsolete beta versions |
11-05-2013, 09:59 PM | #2070 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Code:
value = status.findNext('noscript').text self.story.setMetadata('dateUpdated', makeDate(stripHTML(value), self.dateformat)) Whoops just noticed something in the description. They all have a "[" at the end. Replace lines 209-211 (they all start with "desc =") with: Code:
desc = "%s"%lc4.text desc = desc[:desc.index("[More")] |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Count Pages | kiwidude | Plugins | 1750 | 04-07-2024 01:20 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Resize Cover | kiwidude | Plugins | 95 | 03-16-2024 11:55 PM |
[GUI Plugin] Find Duplicates | kiwidude | Plugins | 1096 | 03-16-2024 11:28 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |