开发者

Creating feed files by writing unix shell scripts

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜