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
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.
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.
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:
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).
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).
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.