Embedding the latest blog entry on my website

Having trouble installing serendipity?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

http://www.kitsunest.net/blog/index.php ... ls=1&num=2

should do the trick (or num=X, of course) :)
Thank you so much for all your help and patience, I'll be sure to support you once I (in the hopefully-not-so-distant future) get my credit card and am able to use Paypal. :)
You're welcome! I wish I could've prevented you the many hours of struggling, but I wasn't online. :)

Have fun using Serendipity,
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/
kipinae
Regular
Posts: 14
Joined: Sat Aug 26, 2006 6:59 pm

Post by kipinae »

kipinae wrote: EDIT//

Nothing, I got it to show only the latest entry. :D I wish I could have the date before the entry instead of after it though.

And I noticed it's lifting my footer inside the content again, I guess there's some simple fix for that?
It's showing beneath the blog entry, inside my content, and it should span below the whole layout like on all the other pages.
I edited my own post while you already replied. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You should refrain from editing posts. Instead make new ones. This way no body will overread it, like I did already 3 times in the process of reading the thread.

What about that footer, can you show a screenshot? I don't see what you mean?

The content of how the javascript outputs things can only be changed by editing the plugin PHP file. If you need more flexibility you would need to resort to the PHP-way I outlined before :)

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/
kipinae
Regular
Posts: 14
Joined: Sat Aug 26, 2006 6:59 pm

Post by kipinae »

Go to my blog http://www.kitsunest.net/blog.php and scroll down the entry, you'll see the "black box" with copyrights etc.

Click any other of those sections in the navigation and you see where it should be located. :3
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I believe this is because of your blog body. It contains this:

Code: Select all

Hehe... <.<<br /><br />Well. Anyway. Until next time.~
Those "<.<" characters might be interpreted as HTML tags. Remove them or replace them with ">.>" and try it out.

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/
kipinae
Regular
Posts: 14
Joined: Sat Aug 26, 2006 6:59 pm

Post by kipinae »

garvinhicking wrote:Hi!

I believe this is because of your blog body. It contains this:

Code: Select all

Hehe... <.<<br /><br />Well. Anyway. Until next time.~
Those "<.<" characters might be interpreted as HTML tags. Remove them or replace them with ">.>" and try it out.

Regards,
Garvin
Where do I edit the "br"s out? Just simply inside my blog entry at Serendipity or some file with an editor?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
Where do I edit the "br"s out? Just simply inside my blog entry at Serendipity or some file with an editor?
The 'br's most probably come because of the serendipity "nl2br" plugin that transforms newlines into HTML breaks. So tremove those 'br's you would need to remove that plugin, or remove the newlines in your s9y article.

The other special characters '<.<' would also need to be removed within your entry editor. You might need to disable the WYSIWYG editor to see/edit those?

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/
kipinae
Regular
Posts: 14
Joined: Sat Aug 26, 2006 6:59 pm

Post by kipinae »

I noticed you didn't mean the "br"s, you were talking about the smiley. :D I should really read more carefully, I guess...

Well in any case, I did replace them by editing the entry, but the problem refuses to go away. Next suggestion? :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You simply forgot to add a closing '</div>' for the #content DIV. Thus the browser would think that #footer belongs into #content, but it doesn't.

So just replace:

Code: Select all

<div id="blog">
<script src="http://www.kitsunest.net/blog/index.php?/plugin/articles?details=1&num=1&date=1&dateformat=d.m.Y&time=0"></script>
</div>
with:

Code: Select all

<div id="blog">
<script src="http://www.kitsunest.net/blog/index.php?/plugin/articles?details=1&num=1&date=1&dateformat=d.m.Y&time=0"></script>
</div>
</div>
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/
kipinae
Regular
Posts: 14
Joined: Sat Aug 26, 2006 6:59 pm

Post by kipinae »

Yay! Perfect. :) Thanks again, now I'm finally done with this new version of my site.
I hope this thread will serve at least a dozen others, so much stuff in here. :D
Post Reply