开发者

Creating feed files by writing unix shell scripts

开发者 https://www.devze.com 2022-12-20 17:50 出处:网络
I don\'t know how to create a text feed files using UNIX shell scripts? Can 开发者_如何学Cyou please give me the sample for the same.I assume you are going to create RSS feeds. Search the web for how

I don't know how to create a text feed files using UNIX shell scripts?

Can 开发者_如何学Cyou please give me the sample for the same.


I assume you are going to create RSS feeds. Search the web for how to create RSS feeds. There are many examples, such as this and this and many more. the basic idea is to echo the information to a file,

eg

echo '<?xml version="1.0" encoding="utf-8"?>' >> feeds.txt

there are also feed tools such as rsstool to make creation easy. I have not used it, but you can have a look

0

精彩评论

暂无评论...
验证码 换一张
取 消