wionews date and authors

wionews date and authors

kk


edit: I might be wrong about timezone calculations and that +5:30 and AM/PM thing. But I would keep this json value since it looks more consistent unlike spans.

Please be carefull reviewing this because I don't want to win if this is wrong



Its better to use json in the body of a post to set date and author. Its very reliable and it's easy to pick information from.

The div with new-loc-date-stamp class at the top of every article that contains random indistinguishable spans is not reliable

"datePublished": "2019-03-30T09:53:33+5:30",

+5:30 at the end

09:53 - 5:30 = 04:23

Here they use 4 spans. Date is in the 3rd, author is in the 4th

https://www.wionews.com/south-asia/election-results-2017-infographic-shows-rise-and-fall-of-congress-and-bjp-over-the-last-20-years-13280


Here they use 3 spans. Date is in the 2nd and author is in the 3rd

https://www.wionews.com/opinions/beyond-the-shared-us-saudi-goals-172723


A few more links

3 spans

https://www.wionews.com/india-news/opinion-is-digital-invasion-costing-us-happiness-36010


4 spans

https://www.wionews.com/india-news/opinion-congress-jds-deal-done-are-post-poll-alliances-undemocratic-137178


3 spans

https://www.wionews.com/opinions/book-review-the-saffron-surge-rss-is-not-immune-to-the-changing-world-but-needs-to-do-more-199672

Report Page