Quote:
Originally Posted by rlh3
Might be useful. I have not really looked a the tags that Literotica uses, but the option of more information is always a good thing.
|
Quote:
Originally Posted by JimmXinu
More metadata is generally good.
|
I tend to be a "more is better" person as well.
Quote:
But it also depends on how hard it is to get.
|
They are easy to get:
Code:
soup.find("meta", {"name":"keywords"})['content'].split(', ')
The complications are that they usually include the story and author name. My code strips these out, but doesn't handle the case where the name has a comma in it.
Quote:
I'd probably want to add them as a separate site-specific metadata unless there was a clear correlation with one of the existing metadata slots.
|
I have just been putting them in the "category" list and they end up in the tags.
Quote:
I'm not finding any 'keywords' doing some quick perusing of the site. Can you provide a link to a couple examples?
|
As far as I can tell all the stories have them. All the stories on the author page from the other day do. That is:
http://www.literotica.com/stories/me...ge=submissions
And I'm embarrassed to say that I have never noticed that at the end of the story there is a "Tags for this story" section. That has the same tags as in the keywords meta field. The keywords is a easier to handle and is available on the first page of a multi-page story.