Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-03-25 16:10:37

mlarino
Member
Registered: 2007-06-29
Posts: 367

Remove rel="bookmark" from permlinks?

Hi
I need to eliminate the rel=“bookmark” from the links the txp tag for permlinks creates.
How can I do that?

The thing is I am using a Lightbox to show full articles, and that is the only reason I cant get it to work :(

can someone help?
thanks!

Offline

#2 2009-03-25 16:23:25

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: Remove rel="bookmark" from permlinks?

how strange
got an email from the forum, saying “colak” replyed to my post, but there is nothing here!!!
help! :)

Offline

#3 2009-03-25 17:13:09

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Remove rel="bookmark" from permlinks?

Oops you subscribed to the topic huh?

Posted something for you but I then changed my mind and deleted it.

Anyway here it is.

rel=“bookmark” is very good for SEO and it is part of the core so it will not be advisable to change it as you will not be able to upgrade seamlessly.

If you post the code you are using, maybe someone will offer a solution.

Last edited by colak (2009-03-25 17:14:49)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2009-03-25 17:24:36

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,453
Website GitHub

Re: Remove rel="bookmark" from permlinks?

mlarino wrote:

I am using a Lightbox to show full articles

As colak says, I don’t think there’s a way to remove the bookmark with TXP tags, but you might try jQuery:

jQuery(function() {
   jQuery("a[rel='bookmark']").attr("rel", "lightbox");
});

(untested) would change all anchors with rel="bookmark" to rel="lightbox".

Last edited by Bloke (2009-03-25 17:25:14)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#5 2009-03-25 17:31:08

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: Remove rel="bookmark" from permlinks?

Thanks!
I think I came up with another solution:

bc..<div class=“destacado”>
<a rel=“iframe” href=”<txp:permlink/>” title=“City Expert :: :: width: 800, height: 600” class=“lightview”><txp:upm_article_image limit=“1”/></a>
</div>

Offline

#6 2009-03-25 17:34:42

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,453
Website GitHub

Re: Remove rel="bookmark" from permlinks?

mlarino wrote:

I think I came up with another solution:

Duh yeah, you’re right. Permlink can be used as a Single tag. Forgot about that! As you were…


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#7 2009-04-04 00:34:24

prop
New Member
Registered: 2009-04-04
Posts: 1

Re: Remove rel="bookmark" from permlinks?

colak wrote:

rel=“bookmark” is very good for SEO and it is part of the core so it will not be advisable to change it as you will not be able to upgrade seamlessly.

Can you elaborate on the rel=“bookmark” being very good for SEO. I’ve searched several SEO sites and can’t find much mentioned on it and the few things I’ve found seemed to indicate the value it provides is not of SEO nature.

I’m pretty new to the subject and not even sure how to properly implement it. What is optimal strategy and which links should use rel=“bookmark” and what are the benefits this provides?

Thanks,
prop

Offline

Board footer

Powered by FluxBB