Loading...
 
Skip to main content

Features / Usability


PDF from URL - really no working example?

Could it really be that there is no working example to be found on the Internet?
I've tried first on different Tiki wiki instances (v 10.2, as well as v 11.0) to configure 'PDF from URL' with different HTML to PDF web services. One example: http://pdfmyurl.comQuestion This service works well using it directly in the browser with the syntax: http://pdfmyurl.com?url=whateverdomain.comQuestion Entering the URL in the tiki configuration with pdfmyurl.com or http://pdfmyurl.comQuestion does not work. The result is a file ending with .pdf but containing simply the html source of http://pdfmyurl.comQuestion as it would be called without the ?url=xxx parameter.
So I thought the configuration syntax for the entry in the admin field 'PDF from URL' was wrong - but could not find any hint how the syntax should be then 'just enter the URL of the web service API'... Trying to add ?url= etc. didn't work either. Finally I tried to find a functioning Tiki Wiki site on the Internet using the PDF from URL over a Webservice. ... but couldn't find any page where this is working. one Example is the Tiki for smarties guide: http://twbasics.tikiforsmarties.com/tiki-index.php?page=Getting%20StartedQuestion This page also uses pdfmyurl.com as service but what is generated is only a PDF containing the following error:
''Error
Notice: invalid variable value: $_GET%22page_ref_id%22 = 2?page=Welcome
Tiki for Smarties twbasics.tikiforsmarties.com (C) by Rick Sapir. Some rights reserved.
PDFmyURL
''
So I guess this function is simply not working - or can someone point me to a site where it is working?
Thanks, Thomas

hi,

I'm the webmaster @pdfmyurl.com and would like to help clear this up.

Whenever you use pdfmyurl.com with a URL, you should add the full URL and make sure you URL encode it if you have additional parameters. So if you want to pass this URL to our service:

http://twbasics.tikiforsmarties.com/tiki-index.php?page=Getting%20StartedQuestion

You should first URL encode it to:

http%3A%2F%2Ftwbasics.tikiforsmarties.com%2Ftiki-index.php%3Fpage%3DGetting%2520Started

And then pass it to PDFmyURL