Add category to tags automaticly (Done)

You want a new feature? That's the place to talk about it.
Post Reply
s2r22
Posts: 2
Joined: Sun 29. May 2011, 14:10

Add category to tags automaticly (Done)

Post by s2r22 » Mon 30. May 2011, 12:44

It is nice that downloader can put the category of a story from FF.net into the title of the output file, but I was wondering if it was possible to add the category of the story to metainfomation of the ebook file it outputs so that when it is added to calibre it automatically put the category into the tags.

User avatar
rika24
Posts: 16
Joined: Sat 1. Jan 2011, 21:03
Contact:

Re: Add category to tags automaticly

Post by rika24 » Wed 1. Jun 2011, 07:22

just open up layout.html and post the following code under the author meta tag:

Code: Select all

<meta name="series" content="%category">
i named that tag "series" but it depends on whatever you call the tag. like, say you name it "category" just change "series" in the code to that. hope that helps :D
Writer of Fullmetal Alchemist, Digimon, Buffy the Vampire Slayer, and Tru Calling Fanfiction. Reader of Ninja Turtles and zombie fanfics.

User avatar
Raimond
Administrator
Posts: 292
Joined: Sat 20. Nov 2010, 13:31
Contact:

Re: Add category to tags automaticly

Post by Raimond » Wed 1. Jun 2011, 22:11

Hi,

rikas solution is the easiest at the moment.
I'll be able to do the same thing directly later, but first I have to include the "category" thing for all supported pages.

Rai

bahnannah
Posts: 43
Joined: Sat 9. Apr 2011, 20:58

Re: Add category to tags automaticly

Post by bahnannah » Sat 18. Jun 2011, 02:19

rika, i went into the layout and added it, but it doesn't work. it'll have the category on the first page of the fic correct, but it doesn't tag it. am i doing something wrong? plus, how do i add a tag for word count? i thought it had it on there before, but it doesn't now.

User avatar
Raimond
Administrator
Posts: 292
Joined: Sat 20. Nov 2010, 13:31
Contact:

Re: Add category to tags automaticly

Post by Raimond » Sat 18. Jun 2011, 16:58

Hi,

series=....... will be automatically set with the ffdl version after 0.3.2

Rai

Post Reply