Language babelscript
| Date: | 10/25/08 |
| Author: | Stefan Zipproth |
| URL: | n/a |
| Comments: | 0 |
| Info: | http://www.babelscript.org |
| Score: |
query 99 Bottles of Beer as {link}
load {link} as {foundpage}
loop
find <a href="./{pagename}"> in {foundpage}
load {link}{pagename} as {poempage}
if {poempage} contains 50 bottles
loop
find <p>{line}</p> in {poempage}
if {line} contains bottles
striphtml {line}
insert {line}{newline}{newline} into {poem}
endif
repeat
print {poem}
save {poem} as poem.txt
print {newline}Press [enter] to exit.
pause
quit
endif
repeat
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments