[pmwiki-users] include text from another wiki?
John Rankin
john.rankin at affinity.co.nz
Sun Jul 10 17:26:10 CDT 2005
On Friday, 8 July 2005 1:16 PM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Fri, Jul 08, 2005 at 09:26:07AM +1200, John Rankin wrote:
>> Given that pmwiki can translate wiki markups other than
>> PmWiki markup, is the following possible? If so, how
>> might one do it:
>>
>> (:wikipedia PageName:)
>>
>> This would return the text of PageName from wikipedia,
>> with the markup translated into xhtml.
>
>Why not just get the xhtml of interest directly from
>wikipedia and use that?
>
>Pm
>
Sure -- one needs a small extension to the include url
recipe that supports the following
- extract content between labelled div tags
- omit content between labelled div tags
- ensure links to other wikipedia pages are correct
This is fairly trivial.
But (there's always a but), we also want a pdf...
So it would be nice if we could use the same wiki to
pdf mechansim, rather than taking and tidying the
html, then transforming the html into the print dtd.
So I just wondered if there was any way to process
the wikipedia wiki markup through pmwiki, as part
of processing a standard pmwiki page.
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list