Dev.SN
Dev.SN ♥ developers
https://dev.soylentnews.org/

Title    20170215c - Test Story - Please Moderate but Post No Comments - Bifurcation Breadth-First
Date    Wednesday February 15 2017, @01:01PM
Author    martyb
Topic   
from the dept.
https://dev.soylentnews.org/article.pl?sid=17/02/15/175202

20170215c - Test Story - Please Moderate but Post No Comments - Bifurcation Breadth-First

This story and its comments is intended to be a clone of 20170215a -- please post no comments, but DO feel free to moderate! --martyb

:: Specify cookie first, otherwise, the chain of invocations ends up defaulting to martyb:
CALL SN_API_cookies "cookies.martyb.txt"

:: This is the story we want to post comments to:
CALL SN_API_story_URL "https://dev.soylentnews.org/article.pl?sid=17/02/15/175202"

:: Non-subscribers need to wait 10s after getting reskey before they can post a comment;
:: Subscribers do not need to wait:
CALL SN_API_comment_sleep 0s

SET sn
PAUSE

:: Create 2 top-level comments
CALL comment 0000
SET sn
PAUSE
CALL comment 0001

:: Create replies (2nd-level comments) for each of those TLCs:
CALL comment 0002 --reply-to 0000
CALL comment 0003 --reply-to 0000

CALL comment 0004 --reply-to 0001
CALL comment 0005 --reply-to 0001

:: Create replies (3rd level comments) for each of the 2nd-level comments:
CALL comment 0006 --reply-to 0002
CALL comment 0007 --reply-to 0002

CALL comment 0008 --reply-to 0003
CALL comment 0009 --reply-to 0003

CALL comment 0010 --reply-to 0004
CALL comment 0011 --reply-to 0004

CALL comment 0012 --reply-to 0005
CALL comment 0013 --reply-to 0005

:: Create replies (4th level comments) for each of the 3rd-level comments:
CALL comment 0014 --reply-to 0006
CALL comment 0015 --reply-to 0006

CALL comment 0016 --reply-to 0007
CALL comment 0017 --reply-to 0007

CALL comment 0018 --reply-to 0008
CALL comment 0019 --reply-to 0008

CALL comment 0020 --reply-to 0009
CALL comment 0021 --reply-to 0009

CALL comment 0022 --reply-to 0010
CALL comment 0023 --reply-to 0010

CALL comment 0024 --reply-to 0011
CALL comment 0025 --reply-to 0011

CALL comment 0026 --reply-to 0012
CALL comment 0027 --reply-to 0012

CALL comment 0028 --reply-to 0013
CALL comment 0029 --reply-to 0013


© Copyright 2024 - Soylent News, All Rights Reserved

printed from Dev.SN, 20170215c - Test Story - Please Moderate but Post No Comments - Bifurcation Breadth-First on 2024-03-29 06:47:02