Feature request: canonical link targets

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
ax11
Regular
Posts: 8
Joined: Fri Nov 09, 2007 1:05 am
Location: Berlin, Germany
Contact:

Feature request: canonical link targets

Post by ax11 »

as explained here:
http://googlewebmastercentral.blogspot. ... nical.html
this should be no big deal to implement, could clean up search engine indices, might reduce crawler-based traffic and would significantly reduce 404s after changing tags or categories, as there could be one "canonical" or primary URI for each post (probably the one generated from the publishing datetime) that should always be linked to.
BTW: Ich heisse Tom - "ax11" klingt halt doch etwas seltsam im Gebrauch zwischen Menschen.
Jabber: ax11@jabber.ccc.de
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Feature request: canonical link targets

Post by garvinhicking »

Hi!

Actually, this is a big deal to implement. :)

Serendipity has a variety of URL options that can all be individually combined. Extracting those into a uniform format is really hard, and would take me maybe 1-2 full weeks to inspect every possible variation.

I have updated the serendipity_event_linktoolbar plugin to contain canonical links for the most common pages (startpage, detailed entry view, category view, author view, archives view), but some very special ones (comment view, rss view, plugin views, search views) are missing.

Thanks for mentioning this here, though. Canonical URLs are something that would be quite helpful in terms of a more semantic web apps.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: Feature request: canonical link targets

Post by konus »

garvinhicking wrote:Hi!
I have updated the serendipity_event_linktoolbar plugin to contain canonical links for the most common pages (startpage, detailed entry view, category view, author view, archives view)...
What does this plugin do? I installed it, but with opera, only next, previous and home links are set. Everything else (index, search,copyright, author, help) is empty.

Is it correct, that this plugin is not configurable in the admin view (I mean has no little icon to change the settings and i.e. set the missing links)?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Feature request: canonical link targets

Post by garvinhicking »

hi!

yes, like description sayd only canon,up,next,prev is implemented
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: Feature request: canonical link targets

Post by konus »

Sorry for asking, I did not found any description for this plugin. Where are you referencing to?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Feature request: canonical link targets

Post by garvinhicking »

Hi!

Ah, I see. The description of the plugin contains HTML that is not shown on the backend. The actual description should read:

Code: Select all

Inserts link rel="start|up|prev|next|canonical" metatags into your frontend for better navigation.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply