Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am much needed the linux library for converting html document to rtf.

As currently, I have used CMS kind of functionality where html is stored in database. I need to convert it in rtf.

If any console library is available or any PHP class, then it would be appreciable.

share|improve this question

closed as off-topic by Karan, teylyn, gronostaj, AthomSfere, Renan Jul 6 '13 at 15:18

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they tend to become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve." – teylyn, gronostaj, AthomSfere, Renan
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

You can use unoconv:

unoconv file.html file.rtf

Here is the man page
Here is the similar question: use-openoffice-from-command-line-to-convert-html-to-rtf

share|improve this answer
Thanks, I have to check the functionality as the user can also have MS Office. Thats why I want to see whether the rtf format would be well for Microsoft Office or not. – Arun Jain Jun 18 '13 at 7:24
It is working fine, but there are 2 points to consider here. First one is, I am not able to manipulate the page setting(margin, padding) and page break perfectly. And another point is that it is a tough call to install unoconv on server. Lots of dependency issues came during installation on CentOS 6. – Arun Jain Jun 26 '13 at 7:36

Not the answer you're looking for? Browse other questions tagged .