开发者

Can Google be used for site search on a database backed website?

开发者 https://www.devze.com 2022-12-16 15:33 出处:网络
I\'m developing开发者_如何学编程 a web site with Google App Engine, and I want to have a search feature for user submitted stuff. Since this project is just a toy and I don\'t control the server, I\'d

I'm developing开发者_如何学编程 a web site with Google App Engine, and I want to have a search feature for user submitted stuff. Since this project is just a toy and I don't control the server, I'd like to just use Google to handle search. However, since the content is stored in the database, I don't think Google can discover the dynamic urls. Unless maybe I create a page that links the last N submissions and hope it gets crawled frequently. Thoughts?


Absolutely. As long as the database is exposed in a web page which can be crawled, Google will crawl it (unless told not to).

The best way to make it all accessible is decent navigation between pages. However, lacking that, a site map page linked from the home page should suffice.


This is an excellent candidate for a sitemap.

You can generate the XML any way you want, and give it to Google. The best part is, it is a "private" XML file; no need to have ugly listings of dynamic URLs for users to see.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号