SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    whagwan? silver trophybronze trophy akritic's Avatar
    Join Date
    Nov 2006
    Posts
    2,780
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    flickr script & vaildation fails

    Hi all,

    I was looking to use the flickr badge tool to inculde a few pics on my website.
    Problem is that the script has unescaped ampersands:

    Code:
    <script type="text/javascript" src="http://www.flickr.com/
    badge_code_v2.gne?show_name=1&count=5&display=latest&size=s&layout=x&source=all_tag&tag=Mumbai&user=8635338&#37;40N07">
    			</script>
    Any body know how you can get this to validate? I've tried changing the ampersands to (&amp) but then this doesn't show the pics anymore.

    Thanks for any help, it's much appreciated.

    andy

    P.s should have mentioned I'm using XHTML 1 strict DTD

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It's supposed to be &amp;. That's probably the problem.

  3. #3
    whagwan? silver trophybronze trophy akritic's Avatar
    Join Date
    Nov 2006
    Posts
    2,780
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Thanks raffs,
    Next time I'll remember to use my brain

  4. #4
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    No worries, it happens to the best of us!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •