RSSerpent-Rev / RSSerpent

https://rsserpent-rev.github.io/RSSerpent/latest/
MIT License
0 stars 0 forks source link

Slackware News (XPath Rules) #8

Open sjehuda opened 6 months ago

sjehuda commented 6 months ago

I think this would be relrvsnt to many people.

url

http://www.slackware.com/

title

The Slackware Linux Project

description

News

language

en

base

//center[not(parent::body)]/table

entry-title

./tr[1]//b/text()

entry-link

@href

entry-description

./tr[2]/td[1]//text()

entry-date

normalize-space(./tr[2]/td[2]//b/text())

date-format

%Y-%m-%d

Rules used with https://github.com/sjehuda/html2atom

EkkoG commented 6 months ago

It is simple to add a plugin to support this https://github.com/RSSerpent-Rev/rsserpent-plugin-slackware-news

and the the plugin have deployed to the official instance https://rsserpent.imciel.com/slackware-news