Is there a simple way to embed the blog into an html page?
I have been reading some posts here about this issue, but can't seem to find a simple answer as my coding skills are not that great.
Thx
Embed into HTML index page
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Embed into HTML index page
Hi!
The most easy way is to edit your "index.tpl" Smarty template file to include the usual layout of your page.
Also the s9y.org documentation contains some references about the "Embed" mode. Also this forum is full of embedding-how tos and problems, so you should take a tour around
Have fun,
Garvin
The most easy way is to edit your "index.tpl" Smarty template file to include the usual layout of your page.
Also the s9y.org documentation contains some references about the "Embed" mode. Also this forum is full of embedding-how tos and problems, so you should take a tour around
Have fun,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
This desribes better want I want to do. Have the latest blog entry appear in my html page.
http://www.s9y.org/forums/viewtopic.php ... ight=embed
http://www.s9y.org/forums/viewtopic.php ... ight=embed
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You might want to try the "Show entries via Javascript" event plugin ("serendipity_event_backend"), which allows you to insert some javascript into your homepage to show the latest entries of your blog.
Of course the PHP-way you already found in the thread you linked.
Best regards,
Garvin
You might want to try the "Show entries via Javascript" event plugin ("serendipity_event_backend"), which allows you to insert some javascript into your homepage to show the latest entries of your blog.
Of course the PHP-way you already found in the thread you linked.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
The Java plug in sounds like it would do the job, however the plug ins can't connect to the server now, is it down?
I get this:
Trying to open URL package_event_en.xml...
The URL http://netmirror.org/mirror/serendipity ... ent_en.xml could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.
Fetched 203926 bytes from already existing file on your server. Saving file as /home/u4/alphastocks/html/cblog/templates_c/package_event_en.xml...
I get this:
Trying to open URL package_event_en.xml...
The URL http://netmirror.org/mirror/serendipity ... ent_en.xml could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.
Fetched 203926 bytes from already existing file on your server. Saving file as /home/u4/alphastocks/html/cblog/templates_c/package_event_en.xml...
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, did it work previously for you? When I call the mentioned URL, the file is available.
You can also fetch the file from http://spartacus.s9y.org/
Regards,
Garvin
Hm, did it work previously for you? When I call the mentioned URL, the file is available.
You can also fetch the file from http://spartacus.s9y.org/
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The index.tpl method actually only applies if you want to embed the complete serendpity installation into an existing webpage, or if you want to apply your own homepage layout into a serendipity template.
For your means, you should best disregard it and focus on either the PHP or the JS solution.
Best regards,
Garvin
The index.tpl method actually only applies if you want to embed the complete serendpity installation into an existing webpage, or if you want to apply your own homepage layout into a serendipity template.
For your means, you should best disregard it and focus on either the PHP or the JS solution.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/