06-08-2011, 02:03 AM | #286 |
Member
Posts: 12
Karma: 10
Join Date: Jul 2010
Device: none
|
Erm, two things I've just noticed. One, FFN added links to share stories on various sites, and the parser is picking up the text portion of that, leading to the word share being stuck at the beginning of every chapter. Two, I only just noticed that all centered text is being rendered left-aligned for some reason. Neither of these things is really a huge deal, but I thought I'd point them out.
|
06-08-2011, 02:21 AM | #287 | |
Zealot
Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
Quote:
The 'share' links appear to have been introduced with ff.net's latest site update - I have updated FLAG's grabber to remove them. Edit: Looks like fictionpress also added these links - FLAG now removes those as well . The centering is being stripped by the markup tidying process - this is a slightly more complicated fix, but it should be done sometime shortly. Last edited by erayd; 06-08-2011 at 02:36 AM. |
|
06-08-2011, 02:23 AM | #288 |
Addict
Posts: 276
Karma: 106
Join Date: Jan 2010
Location: Melbourne, Australia
Device: Pocketbook 360, Sony PRS-T1
|
I don't use FLAG, but if it's possible to customise the templates then I'd seriously consider using it. I've been using Graffer for ages and as of today, with FF.net's stupid share icons, it's not picking up the chapter text at all. It looks like the developer has given up and has closed his website.
So, that leaves me without a downloader at the moment. I know there are a few out there, but none that I've found are anywhere near as customisable as Graffer. My ideal downloader would: - Allow me to customise both the index.html and any layout output pages, including css, - Allow me to create multiple templates to address the way some authors title their fics, for instance, in Graffer I have the ability to create mulitple index.html files and then pick them from a drop down menu on the download window. This solves chapter titling issues, for instance some authors like to give their chapter real titles, while others don't. Then you also have some who like prologues and then name each subsequent chapter by number. So if the download lets you pull chapter titles you could end up with "Chapter 1 : Prologue" and "Chapter 2 : Chapter 1", which drives me insane. I'm not sure if FLAG can do any of that, but if it's possible either now, or in future releases, then I'd jump ship. |
06-08-2011, 02:28 AM | #289 | |
Zealot
Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
Quote:
I'm currently in the process of adding an 'advanced' download form that will allow custom templates & CSS - this requires a few changes to the way FLAG manages things internally, but is currently on track to go live sometime this month. I haven't had anyone ask for the ability to customise chapter titles before; could you expand a bit on what you're after here? |
|
06-08-2011, 02:52 AM | #290 |
Addict
Posts: 276
Karma: 106
Join Date: Jan 2010
Location: Melbourne, Australia
Device: Pocketbook 360, Sony PRS-T1
|
Sure can and I'm guessing the other person who contacted you is a friend of mine.
The chapter titles is a big one for me. As it is now, there are three different ways it seems to work.. 1. The author gives their chapters real titles, for instance "In the Beginning". Which I had set up for Graffer to grab as "Chapter 1 : In the Beginning", so chapter number and chapter title. 2. The author has a prologue and then numbers each subsequent chapter, for instance "Prologue" then "Chapter One". Which normally would render as "Chapter 1 : Prologue" then "Chapter 2 : Chapter One", so I set the template up to only grab the chapter titles and not the chapter numbers in that one. 3. The author didn't name any chapters and they only had chapter numbers. In this instance a normal template would grab "Chapter 1 : Chapter 1", so I set it up to only grab chapter numbers and no chapter titles. I like knowing the number of the chapter I'm on and also the title, without going to the TOC. In Graffer, I have the ability to create mulitple templates, so I have three that deal with the titling issue. From the drop down menu on the download window, I just choose which one I want to use, based on each fic itself, and that's it. I think part of the problem I'm having with other fic downloaders, namely Fanfiction Downloader is that I'm not sure what tags they're using. They are different than the ones in Graffer and I can't find information on them anywhere. So that would be something I'd like made available as well. It makes customising much easier if you know what you're working with |
06-08-2011, 04:24 AM | #291 |
Member
Posts: 12
Karma: 10
Join Date: Jul 2010
Device: none
|
Huh, never noticed this before, but that's probably because hardly anyone uses macrons in their stories. I would assume this effects all letters with macrons, but at the very least, o with a macron is rendered as a question mark in both titles and story text. Here's the story I noticed it in: http://www.fanfiction.net/s/5686039/...ekyo_Sharingan
|
06-08-2011, 04:38 AM | #292 | |
Zealot
Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
Quote:
If it's getting in the road too much, let me know and I'll see if I can come up with a different approach. |
|
06-08-2011, 06:02 AM | #293 | |
Member
Posts: 12
Karma: 10
Join Date: Jul 2010
Device: none
|
Quote:
Also, I've just noticed that while you've taken care of the "Share" at the beginning of every chapter in multi-chapter fics, it still shows up in fics with only one chapter. I'll let you know if I come across anything else strange. Thanks for all the hard work you've put into this! |
|
06-08-2011, 06:14 AM | #294 | ||||
Zealot
Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
Quote:
Quote:
Quote:
Quote:
|
||||
09-13-2011, 12:50 AM | #295 |
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
|
Hello again! Congratulations on all the improvements! It's the first time I've tried the FLAG web service since a couple years back and it's looking much, much nicer than the older version. The ePub output looks very professional. By the looks of things, you've also gotten UTF-8 working just fine now.
A few comments and suggestions:
On a side note, what zip class are you using to make the epubs? Conversion via Calibre is pretty slow so I'd prefer to create the epubs directly in PHP but the built-in zip class just isn't working for me. Again, thank you very much for all your work! I'm using a customized, "webified" version of your original CLI script and it has made archiving fanfics and reading them on my smartphones, tablets and e-ink readers so much easier. Heck, if not for the ease of fanfic -> epub conversion that FLAG has afforded me, I probably wouldn't have considered buying an e-ink reader at all. Last edited by ilovejedd; 09-13-2011 at 12:58 AM. |
09-13-2011, 02:33 AM | #296 | ||||||||||
Zealot
Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
Quote:
Yes, UTF-8 is now fully supported - was a bit of a headache to work around all the bits of PHP that couldn't cope with it, but thankfully that's now complete! Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
||||||||||
09-13-2011, 10:42 AM | #297 | |||
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
|
Quote:
Quote:
Quote:
I'm using a highly customized version, though. The code may be a big mess and modifications a big headache but it's highly functional and works with the fanfic sites I use. |
|||
09-13-2011, 11:35 AM | #298 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Code2000 is close, but the character set is Unicode, UTF-8 is the encoding.
|
09-13-2011, 11:50 AM | #299 |
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
|
|
09-13-2011, 12:09 PM | #300 | ||||
Zealot
Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
Quote:
Quote:
Quote:
Quote:
|
||||
Tags |
converter, fanfiction, fanfiction.net, grabber, lrf |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fanfiction.net on Kindle | forkyfork | Amazon Kindle | 26 | 08-07-2011 08:42 AM |
bookmarks/notes grabber | Reader2 | Android Developer's Corner | 0 | 10-02-2010 09:24 AM |
EASY fanfiction grabber? | sherryg | Workshop | 19 | 01-08-2010 03:13 AM |
FLAG (Fanfiction.net Lightweight Automated Grabber) and Calibre? | malkie13 | Calibre | 1 | 02-10-2009 05:43 PM |