Tong wrote:
Thanks for your respond, Stuart.

Yes, I've gone through both of the them, but I am still having trouble
trying to make use the passthrugh WordPress more tag. Can I have a
copy of blogpost example source file that demos this please?

In the mean time, what's wrong with the following source?

Nothing, but be aware that you can't use the more tag with a WordPress Page (read the WordPress docs http://en.support.wordpress.com/splitting-content/more-tag/).

I've put a more tag in my 'Command-line SMS script' post http://en.support.wordpress.com/splitting-content/more-tag/

here's a snippet from the AsciiDoc source:

8<--------------------------------------
Command-line SMS script
=======================
:blogpost-status: published
:blogpost-doctype: article
:blogpost-posttype: post
:blogpost-categories: clickatell,sms,commandline,python

A simple Python command-line script I wrote to send SMS messages using
http://clickatell.com/[Clickatell's] HTTP API. In addition it:

- Records sent messages in a log and has command option to view log
file. - Has command options to query the Clickatell account balance and the
  status of previously sent messages.
- Configuration can include a list of phone numbers.

pass::[<!--more-->]

Inspired by http://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail
8<--------------------------------------


Cheers, Stuart



----------------------------------------
Installation

'blogpost' is a Wordpress command-line weblog client.  It creates and
updates weblog entries directly from
http://www.methods.co.nz/asciidoc/[AsciiDoc] (or HTML) source
documents. You can also delete and list weblog entries from the
command-line.

pass::[<!--more-->]

- Download from http://hg.sharesource.org/blogpost/[Mercurial
  repository at ShareSource].
- Put `blogpost.py` in search path (optional).
- Create `$HOME/.blogpost` configuration file (see example
  `conf/blogpost_example.conf`).
- Disable 'emoticons' from the Wordpress browser interface (optional):
  1. Login.
  2. Navigate to 'Settings->Writing->Writing Settings' page.
  3. Uncheck 'Convert emoticons' in the 'Formatting' section (this
     option stops the automatic conversion of text patterns to
     emoticons).
----------------------------------------

$ blogpost.py --version
blogpost 0.9.3

$ blogpost.py post ttt.doc
blogpost: creating published post 'Installation'...
blogpost: id: 484
blogpost: url: http://....wordpress.com/...

I don't see that my post effectively split using the More tag.

Please help.

On May 9, 5:01 pm, Stuart Rackham <[email protected]> wrote:
Hi Tong Sun

See the 'BLOG FILE' section in the docs:http://srackham.wordpress.com/blogpost1/

You could also take a look at the original post that kicked it 
off:http://groups.google.com/group/asciidoc/browse_frm/thread/1ed283876dd...

Cheers, Stuart



Tong Sun wrote:
Hi,
I am having trouble trying to make use the passthrugh WordPress more tag.
And to demystify other usages, can we have a full-featured blogpost
example file please?
Thanks
--
You received this message because you are subscribed to the Google
Groups "asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.
--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group 
athttp://groups.google.com/group/asciidoc?hl=en.


--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to