Hey All, I''ve got an app that stores infrequently-changing-but-not-entirely- static data. I''d like to be able to generate a snapshot of the app (or a portion thereof) in a CHM file so users can snag a copy for offline use, that still has the hyperlink structure intact, can be searched, printed, etc. Optimal would be something I could feed a route to & it would spider every link from there, using my existing views. My googling has not turned up any existing gems/plugins that just magically do what I want, alas, but I wondered if anybody here can point me at a likely place to start on such a feature? I know there''s an rdoc plugin or branch that generates CHM from rdoc--that''ll be where I start unless someone has a better suggestion. Many thanks! -Roy -- 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.
On 15 Jul 2010, at 17:53, Roy Pardee wrote:> I''ve got an app that stores infrequently-changing-but-not-entirely- > static data. I''d like to be able to generate a snapshot of the app > (or a portion thereof) in a CHM file so users can snag a copy for > offline use, that still has the hyperlink structure intact, can be > searched, printed, etc. Optimal would be something I could feed a > route to & it would spider every link from there, using my existing > views. > > My googling has not turned up any existing gems/plugins that just > magically do what I want, alas, but I wondered if anybody here can > point me at a likely place to start on such a feature? I know there''s > an rdoc plugin or branch that generates CHM from rdoc--that''ll be > where I start unless someone has a better suggestion.If you are on OS X, you can use the rdoc_osx_dictionary (more info here: http://github.com/seattlerb/rdoc_osx_dictionary). I believe there''s a dependency on hoe that isn''t installed with the gem (although it should be, but it isn''t), so if you are having problems, make sure you have hoe installed too. A google search for "rails chm" brought up these: http://moiristo.wordpress.com/2008/08/28/ruby-core-ruby-on-rails-chm-documentation/ http://dirk.net/2007/12/30/generate-ruby-on-rails-chm-documentation/ etc. Maybe you''ll have luck with those links. Best regards Peter De Berdt -- 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.
On Jul 15, 9:42 am, Peter De Berdt <peter.de.be...-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org> wrote:> On 15 Jul 2010, at 17:53, Roy Pardee wrote: > > > I''ve got an app that stores infrequently-changing-but-not-entirely- > > static data. I''d like to be able to generate a snapshot of the app > > (or a portion thereof) in a CHM file so users can snag a copy for > > offline use, that still has the hyperlink structure intact, can be > > searched, printed, etc. Optimal would be something I could feed a > > route to & it would spider every link from there, using my existing > > views. > > > My googling has not turned up any existing gems/plugins that just > > magically do what I want, alas, but I wondered if anybody here can > > point me at a likely place to start on such a feature? I know there''s > > an rdoc plugin or branch that generates CHM from rdoc--that''ll be > > where I start unless someone has a better suggestion. > > If you are on OS X, you can use the rdoc_osx_dictionary (more info > here:http://github.com/seattlerb/rdoc_osx_dictionary). I believe > there''s a dependency on hoe that isn''t installed with the gem > (although it should be, but it isn''t), so if you are having problems, > make sure you have hoe installed too. > > A google search for "rails chm" brought up these: > > http://moiristo.wordpress.com/2008/08/28/ruby-core-ruby-on-rails-chm-...http://dirk.net/2007/12/30/generate-ruby-on-rails-chm-documentation/ > etc. > > Maybe you''ll have luck with those links. > > Best regards > > Peter De BerdtThanks Peter. I''m looking for cross-platform output, so I don''t think the apple dictionary format will serve. I think those links tap into the rdoc stuff, but I''ll give them a read & see. Thanks! -Roy -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 15 Jul 2010, at 19:25, Roy Pardee wrote:> Thanks Peter. I''m looking for cross-platform output, so I don''t think > the apple dictionary format will serve. I think those links tap into > the rdoc stuff, but I''ll give them a read & see.Misread your original post a bit. You''ll probably have to look into CHM generation from rdoc and then roll your own as you already suggested. Best regards Peter De Berdt -- 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.