More prettying up
This commit is contained in:
parent
abaf7b918c
commit
e571ab592e
8
README
8
README
@ -1,3 +1,9 @@
|
|||||||
|
•
|
||||||
|
┏┓┏┏┏┏┓┏┓┏┓
|
||||||
|
┛ ┛┛┛┛┗┛┗┗┫
|
||||||
|
┛
|
||||||
|
RSS-based art collator
|
||||||
|
|
||||||
Do not expect quality code. Only works with the Bun[1] runtime
|
Do not expect quality code. Only works with the Bun[1] runtime
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
@ -6,5 +12,5 @@ Usage
|
|||||||
- `bun .`
|
- `bun .`
|
||||||
- Open `out/index.html` in a browser. Enjoy :)
|
- Open `out/index.html` in a browser. Enjoy :)
|
||||||
|
|
||||||
References
|
Links
|
||||||
1. https://bun.sh
|
1. https://bun.sh
|
1
index.js
1
index.js
@ -69,7 +69,6 @@ const processRss = (rss, reducerCallback, cdata) => {
|
|||||||
|
|
||||||
for(let item of items) {
|
for(let item of items) {
|
||||||
let description = new JSDOM(item.querySelector('description').textContent).window.document
|
let description = new JSDOM(item.querySelector('description').textContent).window.document
|
||||||
// let description = item.querySelector('description')
|
|
||||||
let dateString = item.querySelector('pubDate').textContent
|
let dateString = item.querySelector('pubDate').textContent
|
||||||
let link = item.querySelector('link').textContent
|
let link = item.querySelector('link').textContent
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user