SMF bug 3009 (duplicate meta information)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
SMF bug 3009 (duplicate meta information)
« 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)
Re: SMF bug 3009 (duplicate meta information)
« Reply #1, 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.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: SMF bug 3009 (duplicate meta information)
« Reply #2, 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.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: SMF bug 3009 (duplicate meta information)
« Reply #5, 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.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: SMF bug 3009 (duplicate meta information)
« Reply #6, 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...

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: SMF bug 3009 (duplicate meta information)
« Reply #7, 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?