RSS Feeds?Forum: DSL Ideas and Suggestions Topic: RSS Feeds? started by: dare2dreamer Posted by dare2dreamer on May 08 2006,18:29
Any chance that the forums could support RSS feeds? It'd be handy to add them to my daily newstroll.
Posted by pr0f3550r on May 09 2006,11:48
ikonboard does not support rss by default. Ikonboard sucks.The script can be hacked to support rss, but I doubt there is a political will to do that. Posted by kerry on May 13 2006,12:32
Keep it simple.
Posted by 300c_pilot on May 14 2006,06:45
Simple, is why we play with DSL.
Posted by jot on May 22 2006,16:31
I've come up with something like this:
Replace the url with your own, I got mine like this: 1 log in to your account 2 click 'New Posts' 3 copy url from adress bar Fields are separated by '|' delimiter 1 - blank (not used - it's a bug, I know ) 2 - topic title 3 - topic description 4 - forum 5 - topic starter 6 - replies 7 - views 8 - last post date 9 - last post author Now, say you want to see just field 8,2,4 and 9 to achieve this change:
to
You can also adjust how many headlines are shown by changing 'head -4 |' to your liking, remember to add | at the end. I know that this script is ugly and it is posible to shorten it, but it's just a 'quickie' . If someone could simplify this awk command, please do so. And now the best part, You can save this script as .tor-dsl-for in ~ make it executable (chmod +x filename) and put something like this somwhere in your .torsmorc : ${color gray}DSL Forum:$color ${execi 1800 ~/.tor-dsl-for} It'll update every 1800 seconds, that is half an hour, change it to your liking And if you want to monitor current DSL version, you can use this in your .torsmorc (you can extract the part after pre_exec and save it as a script if you wish): ${color gray}DSL:$color Current version: ${pre_exec wget -q < http://www.damnsmalllinux.org > -O - | grep Curre | sed 's/<[^>]*>\|--.*\|,.*\|.*n //g' | head -1 } Current RC version: ${pre_exec wget -q < http://www.damnsmalllinux.org > -O - | grep Curre | sed 's/<[^>]*>\|--.*\|,.*\|.*n //g' | tail -1 } It is executed every time before start of torsmo (pre_exec), if you wish it to update automatically change pre_exec to 'execi <interval>' So this is the end my friend... Farewell PS. The idea to put it in torsmo comes from a script for conky found somewhere on a site about conky , and rss on desktop idea comes from enlightenment PS2. I hope it works, I've checked it in a terminal only |