2009-01-28, 10:29
Hi There.
Here in Finland there is quite funny comic strip about a PigMan (Vagner ) and beautiful woman Viivi. These strips are daily published in one of Finlands newpaper site: http://www.hs.fi
Can anyone do this Picture plugin/Script to show these? Here is the break down.
Show at the start
1. Open http://www.hs.fi/viivijawagner/
2. Search the HTML code for "<h1>Viivi ja Wagner</h1>
3. Below that is the Time for this strip like "<p>28.1.2009</p>", use this and print the date this to the screen.
2. Search the HTML code for "<div class="strip">"
3. below that is the Image tag like "<img src="http://www.hs.fi/kuvat/iso_webkuva/1135243071339.gif". Show this one (todays)
Create previous link.
1. Search the HTML code for "<div class="previous">"
2. below that is the HREF like "<a href="http://www.hs.fi/viivijawagner/1135243053276". Extract the number at the end. That is the previous's GIF's name. the REAL pic link is http://www.hs.fi/kuvat/iso_webkuva/#####.gif
Create Next link (not with today's view)
1. Search the HTML code for "<div class="next" align="right">"
2. below that is the next's strips HREF like "<a href="http://www.hs.fi/viivijawagner/1135243071339". Extract the number at the end. That is the next's GIF's name. the REAL pic link is http://www.hs.fi/kuvat/iso_webkuva/#####.gif
Always search for the Date state also (below "<h1>Viivi ja Wagner</h1>").
Here in Finland there is quite funny comic strip about a PigMan (Vagner ) and beautiful woman Viivi. These strips are daily published in one of Finlands newpaper site: http://www.hs.fi
Can anyone do this Picture plugin/Script to show these? Here is the break down.
Show at the start
1. Open http://www.hs.fi/viivijawagner/
2. Search the HTML code for "<h1>Viivi ja Wagner</h1>
3. Below that is the Time for this strip like "<p>28.1.2009</p>", use this and print the date this to the screen.
2. Search the HTML code for "<div class="strip">"
3. below that is the Image tag like "<img src="http://www.hs.fi/kuvat/iso_webkuva/1135243071339.gif". Show this one (todays)
Create previous link.
1. Search the HTML code for "<div class="previous">"
2. below that is the HREF like "<a href="http://www.hs.fi/viivijawagner/1135243053276". Extract the number at the end. That is the previous's GIF's name. the REAL pic link is http://www.hs.fi/kuvat/iso_webkuva/#####.gif
Create Next link (not with today's view)
1. Search the HTML code for "<div class="next" align="right">"
2. below that is the next's strips HREF like "<a href="http://www.hs.fi/viivijawagner/1135243071339". Extract the number at the end. That is the next's GIF's name. the REAL pic link is http://www.hs.fi/kuvat/iso_webkuva/#####.gif
Always search for the Date state also (below "<h1>Viivi ja Wagner</h1>").