On Aug 18, 2011, at 2:25 PM, Rodrigo Alves Vieira wrote:
> Hello everyone, how can I get all available urls of my application,
> I don''t mean rake routes I mean some code that returns literally
all
> the urls (or paths)
>
> for example
>
> let''s say it''s a blog application, with this code I
should be able
> to see:
>
> /
> /about
> /contact
> /posts
> /posts/2011-08-18
> /posts/2011-08-18/blah-blah
> /posts/2011-08-15/lalala
> /posts/2011-08-18/foo
> /posts/2011-08-18/bar
> /posts/2011-08-18/baz
>
> Well, this is the point.. do you have any idea on how to do it?
Assuming you have linked all of these, you could crawl the site with
wget, pipe the filenames to cat and build a text file. What form are
you looking for these paths? Do you need a text file, or do you want
to generate a sitemap or something like that?
Walter
>
> A appreciate any reply!
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-
> talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> .
> For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
> .
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.