11-01-2012, 06:51 AM | #976 | |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Quote:
|
|
11-01-2012, 06:57 AM | #977 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Jimm,
where can I find info about making FFDL only download specific chapters and not the whole story? |
Advert | |
|
11-01-2012, 07:00 AM | #978 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Opps forgot to ask. Is there a way to make this kind of download permanent, so I don't have to remember to edit the download every time there is an update?
|
11-01-2012, 12:06 PM | #979 | ||
Plugin Developer
Posts: 6,320
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
http://www.fictionalley.org/authors/bexis/HPATFE.html[1,5] (Currently, that only works for new or overwrite, not update.) Quote:
For that particular story only, no. But that's why I fixed it. Jim |
||
11-01-2012, 01:20 PM | #980 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
How do I make it everything above a particular chapter number? I need all the chapters starting with ch 51.
|
Advert | |
|
11-01-2012, 01:22 PM | #981 |
Plugin Developer
Posts: 6,320
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
If you want a book containing only chapters 51 and up, use:
http://whatever.the.url.is/story[51,] However, be aware that you will not be able to use the update feature if you have a partial book that doesn't start with chapter 1. Epub update uses the chapter count to determine when and what to update. |
11-01-2012, 01:44 PM | #982 |
Evangelist
Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
Hi Jim,
I have an efiction site that I would like to be considered for inclusion in your plugin. I need to update the version of efic and reskin etc (plus moving to a new host) and then it should be ready. It's pretty vanilla (installation-wise - no custom bits) but is there anything I can do in the upgrade that would make your life easier? Sue |
11-01-2012, 01:55 PM | #983 |
Plugin Developer
Posts: 6,320
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Hi Sue,
What would help the most would be to clearly identify the chapter text and each piece of metadata in the HTML, and to put all the story metadata on the story index page. (We frequently have to parse the author's page, too, to get all the metadata.) Lengthy examples: Spoiler:
When categories/genres/warnings/whatever are already links to a particular category, they're easy to pick out. But it's frequently a pain to pick out the individual bits of metadata with just the human readable labels. Jim |
11-02-2012, 04:45 AM | #984 |
Evangelist
Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
Actually, Jim, that looks like it'd make better page code too! Excellent, I'm glad I asked before I start the new skin etc (I'm going to try for a responsive design as well).
Cool! I'll give you a shout when I've got it happening. Thanks! |
11-04-2012, 12:11 AM | #985 |
Groupie
Posts: 164
Karma: 3100
Join Date: Sep 2011
Device: Kobo Auro H2O, PRS-T1
|
I've been working on adding metadata replacements to the stories I gather and it's been working great. However, after the last batch of stories had 17 fandoms and 34 characters, I wondered if I would be able to sort the characters into a hierarchical list using the replace metadata feature.
I know that I can now change the character based on which category (or fandom) it is in. Is it possible to use a more general statement? For example: characters=>(any character)=>category.(any character) I do have the line: characters=>\.=> which deletes any periods in the character name. However, I'm not sure how to make it add the category (or fandom) at the beginning of the character. |
11-04-2012, 12:27 AM | #986 |
Plugin Developer
Posts: 6,320
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I don't use hierarchical lists, so I don't know what that's about.
However, if you simply want "category." prepended to all the characters, use: characters=>(.+)=>category.\1 The replacements are applied in order, so to use both, put the '.' remover first: replace_metadata: characters=>\.=> characters=>(.+)=>category.\1 |
11-04-2012, 01:31 AM | #987 | ||
Groupie
Posts: 164
Karma: 3100
Join Date: Sep 2011
Device: Kobo Auro H2O, PRS-T1
|
Quote:
Example: Spoiler:
Quote:
I was hoping to find a way to change every character to fandom(the fandom the character comes from).character without having to input all the characters (including the ones I didn't have to change before, like Bumblebee). Similar to how I can change a character based on fandom. Code:
characters=>Sam W=>Sam Witwicky&&category=>Transformers Thinking about it, I'm not sure it can be done without replacing every character metadata individually. |
||
11-04-2012, 01:38 AM | #988 |
Plugin Developer
Posts: 6,320
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
You should be able to without a line for every character, but you will need one for every fandom you want separate:
Code:
replace_metadata: characters=>(.+)=>Character.Transformers.\1&&category=>Transformers characters=>(.+)=>Character.Buffy.\1&&category=>Buffy |
11-04-2012, 01:30 AM | #989 | |
Groupie
Posts: 164
Karma: 3100
Join Date: Sep 2011
Device: Kobo Auro H2O, PRS-T1
|
Quote:
Instead of getting "Transformers.Bumblebee, Buffy.Xander Harris", I get "Buffy.Bumblebee, Buffy.Xander Harris". Is it possible to set a list of character names to choose what prepend to attach? For example: Code:
characters=>(.+)=>Buffy.\1&&characters=>(Buffy or Xander or Spike)&&category=>Buffy |
|
11-04-2012, 01:37 AM | #990 |
Plugin Developer
Posts: 6,320
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
characters=>(Buffy|Xander|Spike)=>Buffy.\1&&catego ry=>Buffy
If you're going to get that complicated, at some point you're going to have to learn regular expressions: http://www.regular-expressions.info/ When 'flavor' matters, it's Python. |
|
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 |