Strange. Your code worked for me on my test account without issue using Firefox 2.0.0.13.
James?
Log in below with your edublogs account: [Don't have an edublogs account? Grab a free one here!]
Strange. Your code worked for me on my test account without issue using Firefox 2.0.0.13.
James?
Thanks for testing it, DrMike. It does look right on your test blog page. Rats. I wonder what's wrong. I am using Vista and IE7 (at school) and Mac OSX 4.11 with Firefox (at home). It looks wrong in both places, but perhaps at home I should try adding the code from there? (Once my internet is back up and running, that is... oh the joys of living in a developing country!)
You're not coping the code to something in between technorati's site and your widget, are you? That's the only thing that comes to mind right off.
I don't see it on your site. Could you place it please so we can see what is occurring?
Hi Dr Mike,
I'm not sure what you mean ("in between"). I have it posted in a Text Widget Box. It is already on my site, but does not come up properly. It is in the sidebar beneath "Recent Posts" and above "Twitters".
Here's what's showing up. It's stripping out the classes from your code although I believe everything else is in there:
<script src="http://widgets.technorati.com/t.js" type="text/javascript">
</script>
<div>
<a href="http://technorati.com/blogs/msmichetti.edublogs.org?sub=tr_embed_t_js">Blog Information</a>
<a href="http://technorati.com/profile/CanadianA?sub=tr_embed_t_js">Profile for CanadianA</a>
</div>
James or Andrew are going to have to look at this one. I'll let them know.
Hiya,
Give it a try now.
Thanks,
Andrew
I just thought of something. It's strange that it's stripping it out of her blog but it worked fine on mine.
That's actually a very good point. I'll take a look at her theme later today. It's either that or a regular plugin that's been activated.
Thanks,
Andrew
It is still displaying improperly. Any other ideas or things I can try?
James or Andrew are going to have to look at this one for you as I don't have backend access.
I can't see this issue here: http://msmichetti.edublogs.org/ It might be something you have to take up with Technorati :/
James, it's stripping out the class portions out of text widget #4. Take a look at her sidebar and the bit under the Recent Posts bit. All that's there is the links.
The code should be:
<script src="http://widgets.technorati.com/t.js" type="text/javascript" charset="UTF-8">
</script>
<div class="tr_embed_t_js">
<a href="http://technorati.com/blogs/msmichetti.edublogs.org?sub=tr_embed_t_js" class="tr_embed_arg_blog">Blog Information</a>
<a href="http://technorati.com/profile/CanadianA?sub=tr_embed_t_js" class="tr_embed_arg_username">Profile for CanadianA</a>
</div>
What's coming out is this:
<script src="http://widgets.technorati.com/t.js" type="text/javascript">
</script>
<div>
<a href="http://technorati.com/blogs/msmichetti.edublogs.org?sub=tr_embed_t_js">Blog Information</a>
<a href="http://technorati.com/profile/CanadianA?sub=tr_embed_t_js">Profile for CanadianA</a>
</div>
The other issue is that it worked for me on my text blog.
The only different I noticed is that she's not using a title for her widget. I doubt that's the cause of the issue but I just saw that.
Hi James,
The problem persists. And it also is not showing the code for this widget badge:
<a href=â€http://learning2cn.ning.com/†title=â€Learning 2.008 Conferenceâ€><img src=â€http://farm4.static.flickr.com/3005/2391290681_aaafb50a7f_o.png†width=â€200″ height=â€330″ alt=â€@2008sidebar†/></a>
Please help! This is driving me slightly crazy. If it is a theme issue, please let me know so I can simply change theme. Thanks.
A
Take a look at your double quotes in the code you pasted there. Note how they slant? You must have copied that code somewhere like out of a word processor like word or whoever set that up make an error.
Try replacing the slanted double quotes with normal double quotes like this -> " Please note that the ones at the end of the width and height bits are even a third style of double quotes.
The problem is when they're fancy looking like that, they don't get saves as double quotes. They get translated into machine code which is something that the filters won't take.
I just tried both on the test blog and you should be able to see the difference. Note how the "Test with regular double quotes" widget works but the "Test with fancy double quotes" widget just shows up as a link.
Hope this helps,
-drmike
edit: Here's the correct code:
<a href="http://learning2cn.ning.com/" title="Learning 2.008 Conference"><img src="http://farm4.static.flickr.com/3005/2391290681_aaafb50a7f_o.png" width="200" height="330" alt="@2008sidebar" /></a>
Thanks, Dr Mike,
I have changed the Learning 2.008 code as per your instructions and it seems to have worked. However, my technorati code is still not working, and it is not a technorati issue. I have checked and re-checked at least 100 times. :-(
James or Andrew is going to have to look at the filtering. I don't have backend access.
Dear James or Andrew,
Please can you look at this? I have posted the same topic in the technorati help desk, and here is what is happening:
http://support.technorati.com/discussions/topic/3426?replies=3#post-13539
Basically, I enter the correct code into the widget and save it. But when I go to view the page, it has been stripped of the class code. I then go back to the widget to check if I have entered the correct code, and the code has been "changed", stripped of the class code! How does this happen?
The same is true, incidentally, of my Creative Commons widget at the bottom of my sidebar (Text 6).
I'm actually a ittle bit stuck on this, divs should be fine (we have set them to allowed, bu they're getting turned into ps instead :/
So, as code in a post:
<script src="http://widgets.technorati.com/t.js" type="text/javascript" charset="UTF-8">
</script>
<div class="tr_embed_t_js">
<a href="http://technorati.com/blogs/msmichetti.edublogs.org?sub=tr_embed_t_js" class="tr_embed_arg_blog">Blog Information</a>
<a href="http://technorati.com/profile/CanadianA?sub=tr_embed_t_js" class="tr_embed_arg_username">Profile for CanadianA</a>
</div>
Becomes:
<script src="http://widgets.technorati.com/t.js" type="text/javascript" charset="UTF-8"> </script>
<p class="tr_embed_t_js"> <a href="http://technorati.com/blogs/msmichetti.edublogs.org?sub=tr_embed_t_js">Blog Information</a> <a href="http://technorati.com/profile/CanadianA?sub=tr_embed_t_js">Profile for CanadianA</a></p>
But I'm still not sure how that would cause the script not to work, Andrew and I will take a look at it tomorrow.
Any ideas DrM?
Hi James and DrM - have you made any progress with this? My blog is getting more traffic now (yay!) but I am considerably frustrated with this widget script issue. I really don't want to change themes, as I have really tweaked Mandigo to get it to look and act the way I want. Help! :(
Isn't it working yet? I thought we'd fixed it up.
Congrats on the traffic btw :)
Thanks! I've been pretty active.
But no, the widget scripts are still not working -- both for the CC widget and the Technorati widget. In both cases, the class code is being stripped.
You must log in to post.
Hi there --
I am having trouble posting codes into widgets that *are supposed* to work in my sidebar. I am kind of new to this, so perhaps the problem is me! :-)
The code from the Technorati website is (using back ticks):
<script src="http://widgets.technorati.com/t.js" type="text/javascript" charset="UTF-8"></script> <div class="tr_embed_t_js"> <a href="http://technorati.com/blogs/msmichetti.edublogs.org?sub=tr_embed_t_js" class="tr_embed_arg_blog">Blog Information</a> <a href="http://technorati.com/profile/CanadianA?sub=tr_embed_t_js" class="tr_embed_arg_username">Profile for CanadianA</a> </div>I am trying to put it into a Text Widget in Sidebar 1 (I use the Mandigo template theme). Currently it comes up with just text, and no images or anything else indicating it is from Technorati.
Many thanks!