wikimedia / html-metadata

MetaData html scraper and parser for Node.js (supports Promises and callback style)
MIT License
165 stars 44 forks source link

Fetch the direction metadata from <html> tag #70

Closed YoranBrondsema closed 6 years ago

YoranBrondsema commented 6 years ago

This fetches the dir (e.g. "rtl") attribute from the <html> tag.

YoranBrondsema commented 6 years ago

@mvolz Sure, I just made the amendments. Let me know if this is OK for you!

mvolz commented 6 years ago

This is such a small change, we probably don't need an entire additional turtle_article_rtl.html file, a 'ltr' tag could just be added to turtle_article.html, I would think?

YoranBrondsema commented 6 years ago

@mvolz You're right, I made the changes.