Add Twitter Card parser
Merge request reports
Activity
Not really. What parser does for OGP and Twitter card: it takes the name from the meta tags and strips
og:
ortwitter:
part from the beginning, e.g. for this file out put would be{ "card": "summary", "site": "@flickr", "title": "Small Island Developing States Photo Submission", "description": "View the album on Flickr.", "image": "https://farm6.staticflickr.com/5510/14338202952_93595258ff_z.jpg" }
and for this OGP example:
{ "title": "The Rock", "type": "video.movie", "url": "http://www.imdb.com/title/tt0117500/", "image": "http://ia.media-imdb.com/images/rock.jpg" }
Edited by Maxim Filippovmentioned in commit 9be539f0
Please register or sign in to reply