Categories > TinyButStrong general >

RTF?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: steph
Date: 2005-07-28
Time: 03:50

RTF?

The question probably betrays my inexperience in this topic, but...

I am particularly interested in TBS as a means of publishing my content both through HTML and through RTF. However, I cannot find any examples of, or documentation for, using TBS to generate RTF. I wondered if there were any examples online someplace of such?

And am I correct in thinking that one still has to generate all of the RTF code by hand; that TBS just provides a simplified way of populating that code with content, and does not simplfy the process of generating the RTF code itself? (I know, that would generally be beyond the scope of a templating esystem. I'm just being hopeful here).

TIA!
By: Pirjo Posio
Date: 2005-07-28
Time: 12:59

Re: RTF?

Hi steph,
I haven't tried this, but I think you could do it like this:
Make the template file in e.g. MS Word and save it as xxx.rtf
and in the template file place TBS fields just like they are in the examples on this site plus all the other texts you need in the template.
And the php-file is like the examples here, only you are using your xxx.rtf instead of the xxx.html files used in the examples.
Hope this helps!