how I can get full URL of images when using getPageHTML of dokuwiki xmlrpc api

59 Views Asked by At

I want to embed the HTML content of a dokuWiki page inside another web application. The content should be shown as a tooltip popup. But when I use the 'wiki.getPageHTML' api method to get the content, embedded images dont have the full path in their tag. Like: <img src="/mywiki/lib/exe/fetch.....">

Is it possible to get the full image path in HTML code? E.g.: <img src="https://testwiki.com/mywiki/lib/exe/fetch....">

1

There are 1 best solutions below

1
mikexmagic On

This option do the job: https://www.dokuwiki.org/config:canonical

thx for andi who answered my question here.