Rails site and search engine

Hi guys I am wondering how a rails site get indexed by search engines?

If my landing page get generated dynamically, how does a search engine know: 1) the content had changed, and what keywords to index the site against from the body text?

Hi guys I am wondering how a rails site get indexed by search engines?

If my landing page get generated dynamically, how does a search engine know: 1) the content had changed,

They won't, not until they come around to scan it again (on a schedule you cannot influence very much). Depending on how popular your site is, how often it comes up high in results for actual searches, it may be indexed more frequently than other sites.

I have one site that apparently is crawled by Google about every 20 minutes, but that site gets zillions of page views by a specialist audience, and is deeply authoritative on a single subject. But you can add something to it, and wait an hour and search for one of the phrases in that addition, and it will be found.

and what keywords to index the site against from the body text?

If you feel like adding keywords to your page, that can help it be found under search terms that don't occur naturally in the page text, but not really very much stock is put in these by the engines, mostly because of rampant fraud by SEO snake-oil-salesmen. Any search engine spider will simply read the source code of your page, and determine the topics it is authoritative about based on the actual HTML text in your page, the links out of it, and the links into it. Then it will build a list of all the internal links in the page, follow them one at a time, and repeat the process.

Walter

You should provide a sitemap and register it with google, bing, etc. You can specify how often the content changes, which is then used by the search engine to refresh it more often.

http://www.sitemaps.org/

A ruby gem is available here:

https://github.com/kjvarga/sitemap_generator

While the keywords in the head section are largely ignored by search engine spiders they are used by a lot of secondary tools, so it makes sense to add them. Don’t rely on them though.

Here is a good site where you can learn more about SEO: http://www.seomoz.org/resources

(not affiliated with them, they provide tons of useful info)