2.0 KiB
Baraveli News
Discover Stories,Daily news and inspiration for maldivian readers.
Single article should be routed by the given matching
/article/[article:uuid]
The unqiue primary key for a scraped article should be a UUID.
Bots
Baraveli News bots pushes any new news aggregated from the scrapers to any given notification channel. Mostly for telegram.
Web
List of the things to be present and aggregated in home page
Today's Pick
This will be 6 random articles from different sources that occured in today. This could be randomly ordered or aggregated based on a certain factor
Discover Topics
List of popular topics,categories or tags that are discussed with in articles. When clicked it should aggregate and display only the articles matching those topics.
Url for this can be constructed like so: /topic/[topic:slug]
Topics will be routed by the slug.
Popular Stories
List of popular articles from the news sites. Paginated with ajax.
Available News sources
List of all the news sources available by baraveli news. When clicked to a news logo it should route the user to /source/[source:slug]
. Which should aggregate the articles according to the source and paginations are done in ajax.
Recent Stories
List of all the recently Stories from varies news sites.
SEO Content
OG Image
OG image of the given artice should include source logo and article title rendered in dhivehi. All of these renders will be cached for 24 hours or 12.
OG Title
OG Title of the article should contain the english Title of the given article.
Extra
Date Parser to parse dhivehi human readable date time into unix timestamps
Given a string as ->parse("11 ގަޑިއިރު ކުރި").. It should return a unix timestamp for the given string'
Scrapers
- Mihaaru
- Sun
- Thiladhun
- The press mv
- Addulive
- Raajje mv
- Avas