Glowfic Ebooks

Do you have a setting, character, plot, art, or other notion that you wish to put on the Internet? This is the Internet! Whee!
Aestrix
Posts: 857
Joined: Sat Mar 22, 2014 8:03 pm
Pronouns: She/her/hers
Contact:

Re: EPUB and MOBI of Effulgence

Post by Aestrix »

... Let me just. Go through and add all of my accounts to Aestrices, I have forgotten that I need to do that when making accounts, excuse me. <3
Throne3d
Posts: 1282
Joined: Sat Oct 10, 2015 1:11 pm
Pronouns: He/him/his
Location: United Kingdom

Re: EPUB and MOBI of Effulgence

Post by Throne3d »

rockeye_stonetoe wrote:I also have neuroihive

It is the neuroi hive
This one? https://neuroihive.dreamwidth.org/profile

I'll add it, but I'm pretty sure there are no posts with that user account for which it couldn't find the moiety. If any posts are found in the future though, they should be attributed to you.
Aestrix wrote:... Let me just. Go through and add all of my accounts to Aestrices, I have forgotten that I need to do that when making accounts, excuse me. <3
Haha, no worries! It shouldn't actually matter at the moment, since I added (I think) all the ones that were missing, but it's probably best to be organised like that anyway, in case they somehow change, or you add more accounts, or something.

And here it is! Uploaded, should be ready to go - works on Calibre's viewer, meaning it probably works on iBooks, meaning it probably works if you convert it to .mobi with Calibre and try it on a Kindle.

https://www.dropbox.com/s/mq6jl58t7ii5u ... .epub?dl=0

Hopefully it'll be useful.

Oh, and again, thanks for writing all the great content, guys!
Aestrix
Posts: 857
Joined: Sat Mar 22, 2014 8:03 pm
Pronouns: She/her/hers
Contact:

Re: EPUB and MOBI of Effulgence

Post by Aestrix »

There, I think I got them all. If I missed an account, please let me know, I'll add it!
Throne3d
Posts: 1282
Joined: Sat Oct 10, 2015 1:11 pm
Pronouns: He/him/his
Location: United Kingdom

Re: EPUB and MOBI of Effulgence

Post by Throne3d »

Aestrix wrote:There, I think I got them all. If I missed an account, please let me know, I'll add it!
"poll_the_stars" was definitely the only one that my code picked up from the sandbox (or at least the sandbox pages linked from here), so I think it's fine now.
I might need to add more ToCs if there are other sandbox indexes (ideally I wouldn't have to go through the tag history, since I think that'd be pretty inefficient). I could work on that tomorrow? (But wow, the epub is already 50MB.)

Edit: Oh, I suppose I could do ePubs for the other glowfics? I might collect some of them together, depending on how long they are and how easy it would be to do that.
User avatar
PlainDealingVillain
Posts: 622
Joined: Tue Apr 01, 2014 10:15 pm
Pronouns: he etc.

Re: EPUB and MOBI of Effulgence

Post by PlainDealingVillain »

I also have been lax about adding account to my collection. I think. Since I have so much fewer, they may all be in bettertomorrow anyway.
User avatar
Adelene
Posts: 678
Joined: Fri Mar 21, 2014 5:18 pm
Pronouns: they

Re: EPUB and MOBI of Effulgence

Post by Adelene »

Adelene has "lurkingkobold" and "of-all-trades"
Nope, of-all-trades is Faceless. (Don't remember offhand what handle he goes by here, though.)

I do on the other hand have wish-i-may for Dusk.
Utility Admin
Throne3d
Posts: 1282
Joined: Sat Oct 10, 2015 1:11 pm
Pronouns: He/him/his
Location: United Kingdom

Re: EPUB and MOBI of Effulgence

Post by Throne3d »

Okay, the code is updated for that. I'll probably wait a couple of days before updating the actual epub in case there are any more changes I have to make.
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: EPUB and MOBI of Effulgence

Post by Marri »

revivificar was an early Vivian before I decided revivian was obviously better. Feel free to hardcode that username to display as revivian instead. (If it's easier to leave it, it's fine, I don't actually care, just explaining why it's not in the comm xD)
Throne3d
Posts: 1282
Joined: Sat Oct 10, 2015 1:11 pm
Pronouns: He/him/his
Location: United Kingdom

Re: EPUB and MOBI of Effulgence

Post by Throne3d »

Okay. I made those changes and also hard-coded "mm-ceit" to Ceitfianna's collection, then did an updated version of the sandbox and also Effulgence - some more "aloft, by wingbeat".

Here's the updated sandbox:
https://www.dropbox.com/s/mq6jl58t7ii5u ... .epub?dl=0

And the Effulgence:
https://www.dropbox.com/s/bpcn91jq8b11z ... .epub?dl=0

And I've moved my code onto BitBucket. It's likely going to have an overhaul soon, to condense it into a single project, and to make everything work a bit better (I keep finding a bunch of small bugs due to how I handled fixing previous bugs). For now, here they are:
https://bitbucket.org/Throne3d/2epub-effulgence/src
https://bitbucket.org/Throne3d/2epub-incandescence/src
https://bitbucket.org/Throne3d/2epub-sandbox/src

Edit: Added Effulgence
Throne3d
Posts: 1282
Joined: Sat Oct 10, 2015 1:11 pm
Pronouns: He/him/his
Location: United Kingdom

Re: EPUB and MOBI of Effulgence

Post by Throne3d »

Welp, had that huge overhaul. It's a single project now. It's not totally tested, but it seems to be working. It runs all the way down to generating epubs, but I haven't actually generated it fully, or looked at the results; it shouldn't be too bad though – I mainly copied the code from bits to other bits. It should be a lot less buggy (with the annoying behind-the-scenes bugs that are hard to track, at least), and you use a single script with different parameters to generate the three different things (all it does is scrape the ToC page differently; other than that, it's the same across them all).

There should actually be no changes to the end results, other than a + for every sandbox story that isn't bolded on Alicorn's index. I felt that would work better than placing a * after all the completed ones, since it's a more consistent format, but it ends up having nearly all of the sandboxes with + symbols... Oh well?

Since it's also more consistent about how it sorts out URLs, it shouldn't end up with like 3 variants of the same page (like "1640.html?page=1&style=site&view=flat" and "1640.html?page=1&view=flat&style=site" and so on), so it should download less and take up less space. Practically everything is now done in the python script, except for calling the python script with the several different parameters ("tocs_effulgence", "flats_effulgence", "epub_effulgence" if you use "./runner.sh effulgence"), so you could probably run it on a Windows machine (if you manually write out the commands from the .sh that you want ­– there are only three of them). I'm using protobufs (and ugh, was that a mess; probably should've stuck to my own serialization for the ease-of-use).

To be honest, all this rambling is practically useless to everyone. The useful part: It should be more consistently easy to generate these epubs, and easier for new people to do it with less understanding of the mechanics behind it. I'll keep updating the epubs when applicable, and see if I can fix the problems associated with the "discretion advised" warning (panfandomsandbox) that currently results in certain sandbox chapters not being loaded into the epub ("Aegis & Charles", "Kerron & Bryce").

The new code is available at https://bitbucket.org/Throne3d/2epub-various/src
I'll probably edit this with confirmation that it works, or if I do a small patch, or something.

Edit: I think I've made a working "runner.bat", so it should work on Windows, provided you've installed BeautifulSoup 4, the ebooklib, protobuf and Python 3 correctly. Might not function properly, but hopefully will. This is also in a readme on the project.
Post Reply