albancrommer / nsa-observer

Please see
https://github.com/nsa-observer/nsa-observer
21 stars 13 forks source link

URL and navigation #20

Closed cynddl closed 10 years ago

cynddl commented 10 years ago

The browsing history is broken. And adding a dynamic URL scheme through pushState would be a :+1: !

The sad news is, meteor does not provide routing. Why not check iron-router?

albancrommer commented 10 years ago

I think the issue is already mentioned somewhere else, but yes this is the plan. Question : What are all the urls we need ? Also, how do we have this to work with the spiderable package for search engine indexing.

cynddl commented 10 years ago

URLs needed :

/programs
/programs/:family/
/programs/:family/:name

and

/attacks
/attacks/:family
/attacks/:family/:name

I think that's all. For the SEO point, the only way I know is to redirect crawlers (with #! for instance) with a static version. We should check http://docs.meteor.com/#spiderable.

albancrommer commented 10 years ago

I would recommand first a /:name (eg. /PRISM)

/export/wiki & /export/json : both should be available server-side cf #11

If we must, we also need /import /edit/:name

albancrommer commented 10 years ago

OK so we've got basic links on items names. I'll wait 0.3 for the whole routing to work.