2 problems with "Latest Entries with PHP"
Posted: Sun Dec 24, 2006 1:23 am
Hello,
I have two problems with "Printing the Latest Entries with PHP" as described on http://www.s9y.org/206.html
1) The links to the articles have a "/" to much:
I got something like http://blog.example//archives/1-test.html
my tpl for this external entries has a
What variables can I use to have only one "/"?
2) my blog is UTF-8
the entries on the external page are shown not "Ö" but the plain UTF-8. Any idea?
I have two problems with "Printing the Latest Entries with PHP" as described on http://www.s9y.org/206.html
1) The links to the articles have a "/" to much:
I got something like http://blog.example//archives/1-test.html
my tpl for this external entries has a
Code: Select all
<a href="{$serendipityBaseURL}{$entry.link}">{$entry.title|@default:$entry.id}</a><br />2) my blog is UTF-8
the entries on the external page are shown not "Ö" but the plain UTF-8. Any idea?