Page MenuHomePhabricator

Create Zotero translator for svt.se
Closed, ResolvedPublic1 Estimated Story Points

Event Timeline

Most functionality has been implemented. One thing that remains is getting the correct language of an article. Articles from Uutiset has lang="sv" in the html-tag, so no help there. It's possible that those are the only non-Swedish articles, in which case language could be hard coded.

I ended up hard coding Finnish for non-Swedish Uutiset articles. I haven't found any articles written in other languages.

I added functionality for handling search results from https://www.svt.se/search/, even though I haven't found a link to this on the main site.

Branch checked in to WMSE-repo: https://github.com/Wikimedia-Sverige/translators/tree/svt-nyheter. I'll wait until the pull request for T187023 is done before I make one for this, in case there are some things I've missed.

Removed the logic and tests for the search page since it no longer exists.