Introduction
Introduction Statistics Contact Development Disclaimer Help
sfeedrc.2 - sfeed_tests - sfeed tests and RSS and Atom files
git clone git://git.codemadness.org/sfeed_tests
Log
Files
Refs
README
LICENSE
---
sfeedrc.2 (330B)
---
1 sfeedpath="`pwd`/output"
2
3 # merge raw files: unique sort by id, title, link.
4 # merge(name, oldfile, newfile)
5 merge() {
6 # NOTE: added -k4,4r
7 sort -t ' ' -u -k6,6 -k2,2 -k3,3 -k4,4r "$2" "$3" 2>/dev/…
8 }
9
10 # list of feeds to fetch:
11 feeds() {
12 # feed <name> <feedurl> [basesiteurl] [encoding]
13 feed "test" "file:///`pwd`/2.xml"
14 }
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.