venerdì 6 febbraio 2009 06:08
when i add Google adsense code in the HTML Source code (Shift+F11) and switch to the HTML View (F11) and then back to the Sourcecode View (Shift+F11) the google code is broken and looks like
google_ad_client = "pub-xxxxxxxxxxxxxxx";
google_ad_slot = "497xxxxxx";
google_ad_width = 120;
google_ad_height = 240;
</script> <--- Googlecode ends here
and this gibberish ____ gets added after switching back and forth
<iframe name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-xxxxxxxxxxxxxxx&dt=1233899995078&lmt=1233899994&output=html&slotname=497xxxxxx&correlator=1233899995078&url=file%3A%2F%2F%2FC%3A%2FTemp%2FWinTemp%2FWindowsLiveWriter1286139640%2F69F9B06B1584%2Findex.htm&eid=6083028&ea=0&frm=0&ga_vid=1018486710.1233899996&ga_sid=1233899996&ga_hid=284866389&u_h=1050&u_w=1680&u_ah=1020&u_aw=1680&u_cd=32&u_tz=60&u_java=true&dtd=468" frameborder="0" width="120" scrolling="no" height="240" allowtransparency="allowtransparency"></iframe></div>
And this breaks the layout and uploade posts. Any fixes or workarounds?
Tutte le risposte
You might have some options, what blogging service are you using?
-Brandon Turner [MSFT]
sabato 7 febbraio 2009 21:01
Thanks for replying.
lunedì 9 febbraio 2009 17:34
-Brandon Turner [MSFT]
mercoledì 11 febbraio 2009 01:39I looked into this more. We have code to handle this already, and one of its purposes it for google ads directly. It didn't get added until a more recent version of WLW. Can you tell me what version of Windows Live Writer you are using? Help | About shows the version number.
-Brandon Turner [MSFT]
sabato 14 febbraio 2009 02:02
sorry for replying so late. I'm still using version 12.0.1370.325. I already tried to install the 14.x version, but for some reason it failes to install. Will try it again later.
btw. it's great peice of software and is really usefull when blogging and i love it! Keep it up :)
P.S. Dunno if it's already in, but is it possible to automatically make all links "nofollow" with exception of a few defined ones on a whitelist? (or having blacklist of domains, which will be automatically nofollow by default unless changed manually?
lunedì 16 febbraio 2009 18:41ProprietarioLet us know if the install fails again, we might be able to help with that as well.
There's no built-in way to make all links nofollow. For doing it manually, though, did you notice the Insert Hyperlink dialog has an Advanced section that lets you set the rel?
Just curious, why do you want all links to be nofollow?
mercoledì 18 febbraio 2009 02:28I've tried it again. For some reason the first time i start the installation, it fails and tells me that it couldn't connect to the servers. But after i start it a second time, it worked. I like the new 14.x Version very much!
Yea, i noticed the advanced section when creating a link before, but some times i forget this, when i'm adding many links.
The reason for an "blacklist" of certain domains is because of SEO and page rank. There are some big websites, which abuse the nofollow rel-attribute so they don't have to give anything of their pagerank to sites which are linked from their websites. For example http://www.wowhead.com/ or http://www.youtube.com/ or some blog directories and other similar websites.
So, if i have normal links on my blog leading to http://www.wowhead.com/ or http://www.youtube.com/ then this pages would get a small amount of my page rank to increase theirs (higher page rank = better search results in Google for example). If someone would post a link on one of this two pages to my website, i wouldn't receive any pagerank in return. So their page rank would grow further while mine would stay same or even get lower.
And as the pagerank contribution also depends on the number of links on a page (internal and external), this can heavily effect your own page rank if you have many links, especially in case of http://www.wowhead.com/ as i often post guides and tutorials for World of Warcraft and use Links to wowhead, for the item and skill descriptions (and also a nice mouseover feature when you hover over the item link which points to wowhead) and makes it much easier for my readers to get the necessary information. Depending on the post, there can be up to 20-30 links pointing to different World of Warcraft skills on wowhead.com and this can have a big influence on my pagerank and manually inserting nofollow for every single link is quite much of work and sometimes you forget to add it etc.
Or to make it short: To penalize the "black sheeps" out of there who abuse the "nofollow" attribute.
venerdì 20 febbraio 2009 00:42Proprietario
Interesting. That's too bad because if everyone did what you did, then pagerank would just fail to be of any use anymore, right? I understand the frustration with YouTube and Wowhead using nofollow, but surely they are doing that to prevent abuse from spammers--isn't that exactly what nofollow was designed for?
I have to admit I'm not really familiar with a lot of the more advanced SEO best practices...