oddluck / limnoria-plugins

Limnoria plugins I wrote or forked.
Do What The F*ck You Want To Public License
39 stars 17 forks source link

SpiffyTitles - Add Steam handler #35

Open metaltermite opened 3 years ago

metaltermite commented 3 years ago

Add a configurable SpiffyTitles template for parsing game titles from Steam links

Links

Game links from Steam are follow this format afaik: https://store.steampowered.com/app/n/game-title, where n seems to be the numeric product id, and game-title seems to be purely cosmetic or for seo

Variables

I think the basic variables for the template can be:

Variables Description
title Product title
genre Product genre found within <div class="popup_menu_subheader">
all_reviews Product review summary of all reviews and total count eg. "Mostly positive (45,654)"
recent_reviews Product review summary of recent reviews and count, eg. "Mixed (4,324)"
description Description of product @ <meta property="og:description" content="...>
date Release date of product
developer Product developer
publisher Product publisher
price Product price
tags "Popular user-defined tags for this product"

Notes