Page 1 of 1

Amazon Plugin

Posted: Sat Feb 24, 2007 1:31 pm
by oliverg
I put the amazon Plugin in one sidebar of my blog on http://blog.oliver-gassner.de . It is not placed in the right bar but somewhere in between the two sidebars.

How do I fix this? (Some code in the css?)

Posted: Fri Mar 02, 2007 4:10 am
by judebert
Sorry we missed your post during our weekend slump.

I visited your page, but I didn't see any sidebar problems. Did you disable the Amazon plugin, or did you fix the problem?

Posted: Fri Mar 02, 2007 9:02 am
by oliverg
Hi,

I moved it to the other column - after I got no reply ;).
So it did not look THAT ugly.

I'll try to move it back so you can see the poblem.

I general I think it would also be nice to allow some customization, like:

- random selection from list = show 5 out of the 20 I enteted(or is this implemented)
- smaller book-covers (Amazon offers them in 2 sizes...)

BTW: Is there a 'rando election from my Amazon wishlist'-PLugin? (Not that anyone ever buys me something ;) )

OG

Posted: Sat Mar 03, 2007 11:29 am
by oliverg
well? I now 'messed it up again' so that you can see the problem. It's kinda Ugly so I'd rather not leave it like that for ever ;)

Posted: Sun Mar 04, 2007 12:03 am
by garvinhicking
Hi!

Hm. I think it's some other HTML problem.

Sadly your site has an awful lot of HTML validation errors:

http://validator.w3.org/check?uri=http% ... &verbose=1

Many wrong umlauts, many wrong XHTML entities...so it's hard for me to debug what could cause the problem there. I believe there'S some unclosed HTML tag or so...

Best regards,
Garvin

Posted: Sun Mar 04, 2007 10:29 am
by oliverg
Well. I actually only used the template and code that was generated by external servives. My own tags are usually limited to links and images.

I'll just mive the plugin tothe other column again.

Posted: Sun Mar 04, 2007 6:45 pm
by garvinhicking
Hi!

You might want to install the "Fix common XHTML errors" plugin, so that your entries will be corrected for proper markup...

Most of the errors come from your content, not from the template itself.

HTH,
Garvin

Posted: Mon Mar 05, 2007 8:41 am
by oliverg
Hm I HAD that activated (and now it is also activated for the comments) ;)

Posted: Mon Mar 05, 2007 3:07 pm
by garvinhicking
Hi!

Hm, okay. Let'S go through that W3C validator error messages:

Error #1: In your theme there's a "valign" attribute, but that's not XHTML valid. You can replace that with "style='vertical-align: top'" within your theme file, I believe it's index.tpl or content.tpl

#2, #3, #4: You wrote <a href=... instead of <a href="...", you need to always add quotes to HTML attributes.

#5, #6: Seems like your blog should be using ISO-8859-1, but you entered UTf-8 characters here. You can only use either of them. Maybe those bad entities come because you posted from a foreign application to your blog, and that application did not use proper character encoding that you configured in serendipity.

#7, #8, ...: All messages you posted frmo delicious seem to contain HTML markup but "br" tags are contained within there. I think they come from the "nl2br" serendipity plugin. In recent versions of this plugin you can configure it to not add breaks between tags like "<ul>" or "<li>"!

#78: Your <script> tag is missing <script type="tetxt/javascript">

#82: You use "&" in Links within your sidebars/html nuggets or within embedded code, but "&" is not valid in XHTML, you need to write "&" instead.

#202: this one can be the error that causes your sidebars to wrap. There's an unclosed <div> somewhere around!

Many of these error types are repeated several times - the most errors come because of bad HTML nugget code you pasted from some sites with invalid XHTML markup.

if you remove all those errors, you will be able to easier find where the unclosed <div> is caused by.

Regards,
Garvin

Posted: Mon Mar 05, 2007 3:58 pm
by oliverg
I am also currently haveing problem swit UTF8 repair is on the way.
IN my error report it says:

# Error Line 2354 column 6: end tag for "div" omitted, but OMITTAG NO was specified.

</body>

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".


# Info Line 2139 column 8: start tag was here.

<div id="wrapper">



And that wrapper is the sidebar wrapper of the template. I'll check how to patch that.
Also the Amazon Plugin inserts images that do not close with />

I'll work on my html-style ;)