Simple string replace. If javascript, string split()[0]
Glad to see the annoyance is not singular!
Glad to see the annoyance is not singular!
Simple string replace. If javascript, string split()[0]
Glad to see the annoyance is not singular!
When users stop requesting it. It's really easy to create a .config or xml file with a new entry that the site can read without making changes to the code. If a request is popular enough, add it to the file as a new line and call it a day.
Aye, getting something 95% of the way there is easy and usually cheap. That last 5% or so percent is what kills ya.
At least they already know how annoying it is, I guess.
It's something in the way that the BeautifulSoup title plugin works. It put's it there automatically. I'll see if I can figure something out. It annoys me too.
edit:
title.rsplit('-', 1)
...