Would like to be able to export FAQs to text format

You have a suggestion for a future version of phpMyFAQ? Then post it here!

Moderator: Thorsten

Post Reply
kballard
Posts: 35
Joined: Fri Aug 20, 2010 11:45 pm

Would like to be able to export FAQs to text format

Post by kballard »

It would be great if on the Export page we could export FAQs in Text format.

Thanks!
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Would like to be able to export FAQs to text format

Post by Thorsten »

Hi,

which format do you want?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kballard
Posts: 35
Joined: Fri Aug 20, 2010 11:45 pm

Re: Would like to be able to export FAQs to text format

Post by kballard »

Just .txt so it can be opened in Notepad or Wordpad without markup.

Thanks.
pt20100201
Posts: 134
Joined: Mon Feb 01, 2010 2:11 pm
Location: Porto . Portugal
Contact:

Quick alternative: 'Would like to be able to export FAQs to

Post by pt20100201 »

Dear kballard

In the meantime, you may export the data in XML format and apply a XSLT to the resulting file (using Apache's xalan or a similar tool) in order to obtain a simple text file – or a file in another format.

The attached file contains a very simple (and raw) example.

Usage

Code: Select all

xalan  -in exported-data-xml-file.xml  -xsl xslt-file.xsl  -out exported-data-converted-file.txt
In this case, the result file contains a subset of the original data with "fields" separated by -tab-

Regards
2011-02-02
pt20100201
.
You do not have the required permissions to view the files attached to this post.
Post Reply