View Single Post
Old 06-19-2014, 10:14 PM   #3003
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by rlh3 View Post
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 View Post
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.
davidfor is offline