You might be able to check out some example code in convert_attachment_to
plugin:
http://github.com/kete/convert_attachment_to/tree/master

Depending on configuration, it will take an uploaded HTML file (or PDF, MS
doc...) and convert it into a plain text attribute, etc.  Probably overkill
for what what you are after, but might have something you can learn from.

Cheer,
Walter

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to