SHOW:
|
|
- or go back to the newest paste.
| 1 | Given: anchorA tied to urlA | |
| 2 | ||
| 3 | posted = False | |
| 4 | for article in articles {
| |
| 5 | if article contains anchor_a {
| |
| 6 | replace "anchorA" with ("<a href=" + urlA + "\">" + anchorA + "</a>")
| |
| 7 | - | do_the_posting; |
| 7 | + | do_the_posting |
| 8 | - | posted = True; |
| 8 | + | posted = True |
| 9 | - | break; |
| 9 | + | break |
| 10 | } | |
| 11 | } | |
| 12 | if posted == False {
| |
| 13 | - | choose_random_article() |
| 13 | + | choose_random_article |
| 14 | - | insert_link_in_a_separate_paragraph; |
| 14 | + | insert_link_in_a_separate_paragraph |
| 15 | - | do_the_posting; |
| 15 | + | do_the_posting |
| 16 | } |