error on blog - missing ; delimiter ??

I am sure this is a small fix, but I tried to add a Flickr badge at the side of my blog - it previews just fine. BUT, when I paste the code into the blogger HTML Edit area, I get this error:

“The reference to entity “zg_person_id” must end with the ‘;’ delimiter.”

This is a portion of the code:
iframe.gne?zg_bg_color=‘+zg_bg_color+’&zg_person_id=26437559%40N08’;

How do I fix it? There is a semi colon at the end. I suspect the problem is with the ampersand (&) sign - I have tried everything and cannot get this to work. TIA


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Nobody knows?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Try making your & into an &. What you are seeing appears to be a result of the code trying to decide if &zg_person_id is a malformed HTML entity (missing its closing semicolon), or part of a URL. If you encode the the ampersand in the middle of your URL, then it will be clear.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter, but it still doesnt work. I typed this:

zg_bg_color=‘+zg_bg_color+’&‘zg_person_id=26437559%40N08’;

I get this error:
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The content of elements must consist of well-formed character data or markup.

I have tried the semicolon off/on the end of that line too - same result.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I don’t know how to section off code in this board here, but it looks like it has an extra ’ after the &. Does that fix it?

I’m a flickr user, how are you making the badge?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You need to use the full code for an ampersand when you put it in a URL like this. It’s & amp; (without the space between the & and the amp; part. If you look back to your initial code, you had this:

 iframe.gne?zg_bg_color=' + zg_bg_color + '&zg_person_id=26437559%40N08';

Now you would change that to:

 iframe.gne?zg_bg_color=' + zg_bg_color + '&zg_person_id=26437559%40N08';

And this particular problem will be solved for you.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I did that Walter, honest, and it is STILL not working. I tried moving quotes, spaces, etc. and cannot get one combo that will work. I put the & and it doesnt fix it.

Here is link to get the code for the Flickr Flash Badge (I did try the HMTL version and it wouldnt work either).

www.flickr.com/badge.gne


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Beatrice,

As it’s external code you may need to ad a widget through your Blogger
settings (IIRC it’s called a Custom Code Widget). Paste your code into
the widget and then use the Edit Layout
section to move it where you want it.

It’s a bit clunky, I’ll see if there’s a way to create the widget
manually from the template.

I hope this helps.

Joe

On 30 May 2008, at 18:06, Beatrice wrote:

I did that Walter, honest, and it is STILL not working. I tried
moving quotes, spaces, etc. and cannot get one combo that will work.
I put the & and it doesnt fix it.

Here is link to get the code for the Flickr Flash Badge (I did try
the HMTL version and it wouldnt work either).

www.flickr.com/badge.gne


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Joe. I looked for some other means to use that and I kept running into the same issue. Blogger has a “slideshow” where you can add your username as a single photo slideshow. It was working before, but I had reused my screename from my personal flickr to biz flickr and it caused confusion - the slideshow wouldnt work for a long time. It is now. I would prefer the flash version/badge, but just cannot seem to get it to function. I will keep trying. I prefer to make ALL my additions in Freeway and not count on blogger.com. Otherwise when I make an edit in FW and upload the HTML, it erases all the edits done in blogger’s Page Elements add/edits. That is a real pain.

I was originally getting the code from Flickr badge, inserting into my FW blog template as an HTML markup. I like the flexibility to add stuff like that.

Thanks again.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options