From 37f4b9caa02783e06dd7c5318200113409a0deb1 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 1 Jul 2011 17:56:50 -0500 Subject: backed out 648b42a75739, which was a NON-trivial whitespace commit. It broke the Typography class's string replacements, for instance --- user_guide/libraries/trackback.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'user_guide/libraries/trackback.html') diff --git a/user_guide/libraries/trackback.html b/user_guide/libraries/trackback.html index 4f5ca6ce1..7f89b4f5e 100644 --- a/user_guide/libraries/trackback.html +++ b/user_guide/libraries/trackback.html @@ -101,29 +101,29 @@ else
  • ping_url - The URL of the site you are sending the Trackback to. You can send Trackbacks to multiple URLs by separating each URL with a comma.
  • url - The URL to YOUR site where the weblog entry can be seen.
  • title - The title of your weblog entry.
  • -
  • excerpt - The content of your weblog entry. Note: the Trackback class will automatically send only the first 500 characters of your entry. It will also strip all HTML.
  • +
  • excerpt - The content of your weblog entry. Note: the Trackback class will automatically send only the first 500 characters of your entry. It will also strip all HTML.
  • blog_name - The name of your weblog.
  • -
  • charset - The character encoding your weblog is written in. If omitted, UTF-8 will be used.
  • +
  • charset - The character encoding your weblog is written in. If omitted, UTF-8 will be used.
  • -

    The Trackback sending function returns TRUE/FALSE (boolean) on success or failure. If it fails, you can retrieve the error message using:

    +

    The Trackback sending function returns TRUE/FALSE (boolean) on success or failure. If it fails, you can retrieve the error message using:

    $this->trackback->display_errors();

    Receiving Trackbacks

    -

    Before you can receive Trackbacks you must create a weblog. If you don't have a blog yet there's no point in continuing.

    +

    Before you can receive Trackbacks you must create a weblog. If you don't have a blog yet there's no point in continuing.

    Receiving Trackbacks is a little more complex than sending them, only because you will need a database table in which to store them, -and you will need to validate the incoming trackback data. You are encouraged to implement a thorough validation process to -guard against spam and duplicate data. You may also want to limit the number of Trackbacks you allow from a particular IP within -a given span of time to further curtail spam. The process of receiving a Trackback is quite simple; +and you will need to validate the incoming trackback data. You are encouraged to implement a thorough validation process to +guard against spam and duplicate data. You may also want to limit the number of Trackbacks you allow from a particular IP within +a given span of time to further curtail spam. The process of receiving a Trackback is quite simple; the validation is what takes most of the effort.

    Your Ping URL

    -

    In order to accept Trackbacks you must display a Trackback URL next to each one of your weblog entries. This will be the URL +

    In order to accept Trackbacks you must display a Trackback URL next to each one of your weblog entries. This will be the URL that people will use to send you Trackbacks (we will refer to this as your "Ping URL").

    Your Ping URL must point to a controller function where your Trackback receiving code is located, and the URL @@ -140,7 +140,7 @@ Ping URLs will look something like this:

    Creating a Trackback Table

    -

    Before you can receive Trackbacks you must create a table in which to store them. Here is a basic prototype for such a table:

    +

    Before you can receive Trackbacks you must create a table in which to store them. Here is a basic prototype for such a table: