Eduardo Burgos

 
  • Home
  • About

Write custom rel tags for your links in Wordpress 2.5.1

Posted in May 3rd, 2008 20:04
by Eduardo Burgos in Blogging
Blogging. javascript, microformats, wordpress.

Since I experienced the same issue, I wanted to share how I solved it.

I was adding a link to my site using Wordpress 2.5.1’s admin window and I noticed that I couldn’t modify the link’s rel tag at my own will, yet I could see how my rel tag was looking so far in the “Link Relationship (XFN)”. When I try to edit the rel tag manually a javascript tries to automatically rebuild based on your checkbox choices.

Wordpress 2.5.1\'s admin Link Relationship section

If you have this exact wordpress version (I don’t know about others) you can solve this and have the link admin let you modify rel tags as you choose by going into the code and modifying /wp-admin/js/xfn.js inserting after line 41 this:

if ((aInputs[i].name != "link_rel") && (aInputs[i].name != "save"))

This modifies the “blurry” function to make it look like this:

function blurry() {
        if (!document.getElementById) return;

        var aInputs = document.getElementsByTagName(‘input’);

        for (var i = 0; i < aInputs.length; i++) {
                if ((aInputs[i].name != "link_rel") && (aInputs[i].name != "save"))
                 aInputs[i].onclick = aInputs[i].onkeyup = upit;
        }
}

This is useful for those that want to have complete control of their site’s microformats.

No Comments

RSS Awareness day

Posted in May 2nd, 2008 11:07
by Eduardo Burgos in Technology
Technology. feeds, rss, syndication.

Although it’s already 1 day late, I would like to join on this movement, the RSS Awareness day, may 1st. For those of you who don’t know (and should!) what is RSS, or any other form of syndication, follow this link to get started. The idea is to spread the use of syndication aggregators in order to save you some time while browsing the web, specially if you’re one of those people that read everything they come up with.
There are other formats of syndication, but that doesn’t really matter since most readers already support the most widely used.
In my particular case, I use google reader because it’s already a strong client, web based and it supports indexing and searching as if you were searching google through the web (one of the best features in my opinion), also supports sharing of items with your google talk friends. Watch out, the use of google reader and/or any feed readers is very addictive! Now that you’re already warned, watch the video for a quick overview.

For those of you who know what it is, support the movement (even if its late already :) ). I would really like to see more people using this kind of tools.

By the way, which one do you use?

No Comments

First post… hmm…

Posted in April 23rd, 2008 15:54
by Eduardo Burgos in Uncategorized
Uncategorized. first.

I’m new to blogging, please be patient U_U

Hello World,  btw

Eduardo Burgos

3 Comments

Recent Entries

  • Write custom rel tags for your links in Wordpress 2.5.1
  • RSS Awareness day
  • First post… hmm…

Recent Comments

  • Eduardo Burgos in First post... hmm...
  • Jean in First post... hmm...
  • eburgos in First post... hmm...

Community


View Eduardo Burgos's profile on LinkedIn
Subscribe
Add to Technorati Favorites

Pages

  • About

Categories

  • Blogging
  • Technology
  • Uncategorized

 

August 2008
M T W T F S S
« May    
 123
45678910
11121314151617
18192021222324
25262728293031

Blogroll

  • Elvis - Elvis Montero’s blog

Tag Cloud

feeds first javascript microformats rss syndication wordpress

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
©2008 Eduardo Burgos
Powered by WordPress | Theme "Talian" designed by VA4Business, Virtual Assistance for Business