Are you new to DiaWebLog? Check out DiaWebLog Bot by Example.
The DiaWebLog Bot is the bridge between a chat room and a weblog. Members of the chat room interact with a bot to create a community weblog. The weblog consists of items. An item consists of a title, a URL, and some comments. Items are posted and edited by member of the chat room by interacting with the DiaWebLog Bot.
To post a new item:
Say Example url http://www.diaweblog.com title, url DiaWebLog, http://www.diaweblog.com @ITEM title @ITEM Party tonight at my house When an item is added, the bot will say "K: title", where K is the item's name. This name is simply a letter. The name can be used to add comments and edit the item.
Say "K, comment" to add a comment to item K. You can only comment on the 25 most recent items.
Items can be edited to change the title or URL or to hide or show the item in the weblog. Comments can be edited too.
Say To @TITLE K title Set K's title to title @URL K url Set K's URL to url @HIDE K Hide item K @SHOW K Show item K KN, comment Set the Nth comment of item K to comment K/old/new/ Replace old with new in K's title or comments Hidden items will not appear in the weblog but can be viewed in the chat room,
Only an item's poster can do @TITLE, @URL, @HIDE, and @SHOW. Only a comment's poster can change the comment. You can edit only the 25 most recent items.
Items and comments use a simple markup language that allows you to make words bold or italicized and to add links and images. Raw HTML will not work in comments and items.
Markup Example Result *bold* *example* example /italics/ /example/ example _underline_ _example_ example [title, url] An [example, http://www.a.com]. An example. title, url An example, http://www.a.com An example +url +http://www.a.com/logo.gif Bare URLs and email addresses are automatically converted to links.
A poll has a question and a list of options. There should be a semicolon (;) between the question and the first option and between each pair of options. Create a poll like this:
@POLL question ; option 1 ; option 2 ; option 3 ...For example:
@POLL What's your favorite color? ; yellow ; red ; plaidVote by adding a comment with the option number. For example, if the last example is item b, vote for plaid by saying "b, 3". Comments that aren't votes are displayed under the poll results.
A poll is a special kind of item. "@POLL ..." is just a shortcut for "@ITEM POLL ...". You can modify a poll by changing the item's title to "POLL ...".
Say To do K, View item K privately @DISPLAY K View item K publicly in the chat room @LAST View summaries of the last 5 items @LAST number View summaries of the last number items @SEARCH word Search for word in titles and URLs @SEARCH word number Search for word, but show at most number matching items
Command names are case insensitive. For example, @TITLE, @title, and @Title all will change the title.
You can send the DiaWebLog Bot a private message to @SEARCH, @LAST, or view a particular item. This can be done publicly too, but the results are sent back privately.
The letter k is skipped as an item name. You can safely say "k, i will do that" without adding a comment to some item.
@@ is a shortcut for @ITEM. @DISP is a shortcut for @DISPLAY.
In most commands you can use a semicolon or colon in place of a comma. For example, "K;" will view item K. This is useful if your chat program has nickname auto-completion and attempts to rewrite comments.
The bot ignores URLs after a tilde (~). To prevent posting a URL, put a tilde in front of it. For example, the bot will ignore "~ http://www.diaweblog.com".
Copyright (C) 2001-2003 David Helder