« Return to Thread: Need help implementing RTF creation

Re: Need help implementing RTF creation

by Pete Jalajas :: Rate this Message:

Reply to Author | View in Thread

Awesome, sylvieg, thanks!   I've run with what you sent here.

Can you please give me an example of the format of the contents of the
$page variable?  For example:
$page = "HomePage";
or
$page = "tiki-print.php?page=HomePage";

Thanks,
Pete

On Fri, Jul 25, 2008 at 11:22 AM, Sylvie Greverend <sgreverend@...> wrote:

> I am sure I am missing a point
> But if you accept to install the script docfrac on your server
> A script like this
> $info = $tikilib->get_info_page($page);
> $html = $tikilib->parse_data($info['data'];
> write $html on tmp/file1
> system('docfrac tmp/file1 tmp/file2');
> $rtf = readfiel(tmp/file2)
> header(...)
> echo $rtf;
> And you will see the rtf in your browser.
>
> Am I missing something?
> sylvie

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

 « Return to Thread: Need help implementing RTF creation

LightInTheBox - Buy quality products at wholesale price!