yaronkoren / miga

A Javascript application (with some PHP) for viewing and browsing arbitrary structured data
GNU General Public License v3.0
20 stars 7 forks source link

Make MigaDV more SEO-friendly #25

Open jqnatividad opened 10 years ago

jqnatividad commented 10 years ago

MigaDV aims to make data publishing easier. And since people find content through search engines, perhaps, MigaDV should also make finding the published data easier.

However, javascript sites are not normally indexable by search engines. Existing workarounds include creating Sitemaps and HTML snapshots.

Maybe, during "compilation", a simpler static version of the site is generated which is SEO-friendly. The simple page, can perhaps, then have a redirect to the "real" page. Robots.txt can even be told to use the simple static site.

jqnatividad commented 9 years ago

Since Google Analytics is the standard - https://developers.google.com/analytics/devguides/collection/analyticsjs/events

If we integrate this, is this something that I should submit as a PR?

jqnatividad commented 9 years ago

There might even be a way to collect offline usage using the Measurement Protocol https://developers.google.com/analytics/devguides/collection/protocol/v1/reference.

Sending the stats when connection is re-established.

yaronkoren commented 9 years ago

That's interesting, I hadn't thought about doing user tracking. It seems like a reasonable idea, assuming of course there's a way to turn it on/off, like with a setting. Sure, I think I'd accept such a patch.