Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Jan9103/nushell_atom_feed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nushell atom feed parser

This packer.nu package adds some basic atom-feed parsing functionality.

Features

  • parse a atom feed from a string
    • title
    • last update
    • id
    • articles
      • id
      • title
      • author
      • published (date)
      • last update
      • content (& content_type)
      • links
      • tags
  • display a article using w3m

Example

A basic feed reader for the nushell blog:

use atom_feed.nu

atom_feed parse (fetch -r 'https://www.nushell.sh/feed.atom')
| where published > ((date now) - 10day )
| sort-by published
| each {|i| atom_feed open_article_in_w3m $i }

Dependencies

Required for atom_feed open_article_in_w3m:

  • w3m (CLI html viewer)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages