Wedge

Public area => The Pub => Bug reports => Topic started by: Arantor on March 1st, 2012, 12:12 PM

Title: SMF bug 3009 (duplicate meta information)
Post by: Arantor on March 1st, 2012, 12:12 PM
On paginated topics in particular, the title is duplicated each page, as is the meta description. While the latter is separately fixable, the title really does need to be updated.

At the very least, we should consider 'Title - Page 2' for pages > 1.
Posted: February 29th, 2012, 01:41 PM

Wedge r1412 adds support for the pagination to be indicated in the page title (but nowhere else)
Title: Re: SMF bug 3009 (duplicate meta information)
Post by: Arantor on December 10th, 2012, 02:12 AM
I've also now fixed the meta description in topics to be the first post of the page, with tags stripped and stuff like that. It's not pretty, it's not elegant but it seems to do the job just fine. I haven't yet thought about truncating it past a certain point yet, though.
Title: Re: SMF bug 3009 (duplicate meta information)
Post by: Nao on December 12th, 2012, 01:34 PM
There's an AeMe helper function for truncating complex strings... But I believe I moved it to westr since then... Bit old in my head.
Title: Re: SMF bug 3009 (duplicate meta information)
Post by: Arantor on December 12th, 2012, 01:38 PM
I remembered there was one, but I couldn't judge how short to make the string.
Title: Re: SMF bug 3009 (duplicate meta information)
Post by: Arantor on February 20th, 2013, 12:00 AM
Bumping to put this nearer the top of my todo list. Any idea how short the meta description should be?
Title: Re: SMF bug 3009 (duplicate meta information)
Post by: Arantor on February 21st, 2013, 02:18 AM
OK, so I've set this to 160 characters as that seems to be a sane guideline figure from what I can tell.

There is no meta description for the board index or home page yet. Not sure how best to approach that yet either.
Posted: February 21st, 2013, 12:30 AM

Committed in r1936.
Title: Re: SMF bug 3009 (duplicate meta information)
Post by: Nao on February 21st, 2013, 06:51 PM
160 bytes is usually a bit short for a regular conversation (you don't always 'think' of compressing details into the beginning of a post, unlike Twitter...), so OTOH I'd rather not waste too many bytes on a feature that's SEO-only. (Heck, it it were me, I'd just dismiss the meta description tag entirely... :^^;:)
So, a good compromise I suppose..?

BTW, is it worth putting the … stuff in the string? It looks a bit odd, when looking at the HTML...
Title: Re: SMF bug 3009 (duplicate meta information)
Post by: Arantor on February 21st, 2013, 09:26 PM
Quote
(Heck, it it were me, I'd just dismiss the meta description tag entirely... :^^;:)
That is not an option.
Quote
160 bytes is usually a bit short for a regular conversation
Well, that's the limit Google uses normally. And I guarantee that it is easier to market Wedge if it has decent SEO (at least, decent given the nature of the beast!) out of the box.
Posted: February 21st, 2013, 06:56 PM

Regarding the hellip, using a straight ... would be better there if possible. Maybe an option for westr::cut?