savepublishing icon indicating copy to clipboard operation
savepublishing copied to clipboard

Canonical URLs for enTweetening

Open nicbarajas opened this issue 12 years ago • 4 comments

Any chance that the script could try to find a canonical URL before taking the window location? Or is that just the height of silliness?

nicbarajas avatar Dec 31 '12 20:12 nicbarajas

Meaning like a single-page view? Probably would need to be site-by-site, with a general matcher rule to catch "printable" views. I'm guessing the Times and a few others would be the most obvious targets.

But another part of me wants it to be exactly the right page/view. That's what the publishers intended.

It's a smart request; I think I just need to think about what this thing is really for. In the meantime it's here in Github and I'll put it into the Beta requests unassigned.

ftrain avatar Jan 01 '13 01:01 ftrain

I guess my feeling was less a single-page view, which might be more trouble than it’s worth, and more trying to find a link element with a rel="canonical" attribute. I imagine it’ll often be identical to the original, but in the case of mobile sites, it will point folks to the original article instead.

nicbarajas avatar Jan 02 '13 16:01 nicbarajas

oh, rel="canonical" is very sensible

ftrain avatar Jan 02 '13 16:01 ftrain

+1 to rel="canonical"

npdoty avatar May 23 '14 22:05 npdoty