Page 1 of 1
WrapURL
Posted: Mon Oct 17, 2005 3:39 pm
by jensolav
Would you please explain in details how to use WrapURL plug-in
How do I define permalink
Kind regards
Jensolav
Re: WrapURL
Posted: Mon Oct 17, 2005 3:47 pm
by garvinhicking
I assume you have already installed the wrapurl plugin. Go to your serendipity admin suite, go to configure plugins, click on the title of the wrapurl plugin.
The wrapurl plugin allows you to setup a page that shows foreign content, but embeds the usual layout of your blog. Thus, you need to tell the WrapURL plugin which URL to wrap, and on which page this should be available.
Now in the configuration enter these values:
Headline: Google
Permalink: /path/to/your/blog/index.php?/wpages/google.html
URL shorthand name: googleurl
The URL:
http://www.google.com/
Now save the plugin. Now, the page you configured as permalink will be used to serve you the wrapped page for Google. Open your blog via
http://host/path/to/your/blog/index.php ... oogle.html or via
http://http://host/path/to/your/blog/in ... =googleurl
As you can see, you can either use the configured permalink to access this page, or via the shorthand url name plus a subpage command.
On the page you now opened you will see the Google page wrapped in your blog's layout.
Regards,
Garvin
Posted: Mon Oct 17, 2005 4:16 pm
by jensolav
I have tried to do as you described but no succes
Try to visit
http://bjoerchmart.dk/serendipity
Kind regards
Jensolav
Posted: Mon Oct 17, 2005 5:00 pm
by garvinhicking
You did it right, the result is there:
http://bjoerchmart.dk/serendipity/index ... =googleurl
Just like I wrote.
Regards,
Garvin
Posted: Mon Oct 17, 2005 5:26 pm
by jensolav
Hey,
yes it works with [subpage] but not with wpages, how does that come?
Thanks for your help
Kind regards
Jensolav
Posted: Mon Oct 17, 2005 6:09 pm
by garvinhicking
I don't know, you need to tell me what exactly you entered as the permalink, then I can tell you what's wrong
Best regards,
Garvin
Posted: Mon Oct 17, 2005 8:40 pm
by Guest
Hey again,
that's my permalink
http://bjoerchmart.dk/serendipity/index ... oogle.html
Can you figure that out?
Kind regards
Jensolav
Posted: Tue Oct 18, 2005 9:40 am
by garvinhicking
Okay, so the link below is the one you configured for the plugin, right? Then that's wrong, you need to enter this as the permalink:
/serendipity/index.php?/wpages/google.html
The permalink only takes the HTTP string, not the Hostname or a "http://" prefix.
Best regards,
Garvin