I believe I read somewhere that web crawlers ignore hidden fields. I also believe I read somewhere that having a URL that says something in plain English is up there with the title in terms of SEO. In other words, use a RESTful URL with the various parts including your keywords so that it is literally descriptive of the page it references. It's been awhile since I reviewed SEO stuff, so take what I'm saying with a grain of salt.
On Apr 27, 7:07 pm, howesc <[email protected]> wrote: > another trick that web2py makes real easy, is make sure that each page > has a unique URL by using request.args. your url might look like: > > http://www.foo.com/default/index/43576/Image-title-here/another-thing > > where 43576 in the above URL is the ID (like in massimo's example), > but the other parts are never used by the app, but to google they look > like part of the URL that it indexes, and it will request each page > separately, thereby getting the unique page keywords. > > i'm no expert, so this might be a bad idea, but what about a hidden > div on the page with comment content? i don't know if the search > engine parses the css to know that the content is not visible to the > user. > > good luck, > > cfh > > On Apr 26, 6:33 pm, mdipierro <[email protected]> wrote: > > > > > say you have: > > > db.define_table('paper',Field('image','upload')) > > db.define_table('tag',Field('paper',db.paper),Field('keyword')) > > > then you will have an action like: > > > def index(): > > paper=db.paper[request.args(0)] > > response.meta.keywords=','.join([tag.keyword for tag in > > db(db.tag.paper==paper.id).select()]) > > return > > dict(img=IMG(_src=URL(r=request,f='download',args=paper.image))) > > > On Apr 26, 7:23 pm, Al <[email protected]> wrote: > > > > Thank you for all the comments... > > > The web site is just a few hundreds of SCANNED image of verd old > > > medical papers which can be searched by two database fields - Title > > > and Keywords, so essentially it is just one web page with not much to > > > be indexed on. There is also 'comments' people can add to each > > > article, but these comments are also stored in the DB. So I must find > > > a way to persist the data in these 3 searchable fields so that they > > > can be crawled by the search engine, I am not sure if > > > "response.meta.keyword=...." can do such job. The keyword field will > > > be continuously updated - not static - so I cannot put all the > > > keywords into the meta descriptions beforehand. > > > > Al > > > > -- > > > Subscription > > > settings:http://groups.google.com/group/web2py/subscribe?hl=en- Hide > > > quoted text - > > - Show quoted text -

