trackback-procs.tcl

Location:
packages/trackback/tcl/trackback-procs.tcl

Procedures in this file

Detailed information

trackback::auto_ping (public)

 trackback::auto_ping [ -url url ] [ -content content ] \
    [ -blog_name blog_name ] [ -title title ] [ -excerpt excerpt ]

searches and entry for links and checks them for trackback support. If trackback is supported, the parameters are user to make a trackback ping. http://www.movabletype.org/docs/mttrackback.html

Switches:
-url (optional)
permanent url of weblog entry
-content (optional)
-blog_name (optional)
-title (optional)
title of weblog entry
-excerpt (optional)
part of weblog entry

Partial Call Graph (max 5 caller/called nodes):
%3 empty_string_p empty_string_p (public, deprecated) trackback::get_ping_url trackback::get_ping_url (public) trackback::send_ping trackback::send_ping (public) trackback::auto_ping trackback::auto_ping trackback::auto_ping->empty_string_p trackback::auto_ping->trackback::get_ping_url trackback::auto_ping->trackback::send_ping

Testcases:
No testcase defined.

trackback::get_ping_url (public)

 trackback::get_ping_url [ -data data ] [ -link link ]

searches for trackback information

Switches:
-data (optional)
html content to search
-link (optional)
URL of item linked to, used to find the correct trackback URL if more than one trackback RDF section is in data
Returns:
ping_url URL of trackback link for the content provided or empty string if no trackabck info is found
Author:
Dave Bauer dave@thedesignexperience.org
Created:
2003-04-14

Partial Call Graph (max 5 caller/called nodes):
%3 trackback::auto_ping trackback::auto_ping (public) trackback::get_ping_url trackback::get_ping_url trackback::auto_ping->trackback::get_ping_url

Testcases:
No testcase defined.

trackback::new (public)

 trackback::new [ -tb_url tb_url ] [ -blog_name blog_name ] \
    [ -object_id object_id ] [ -comment_id comment_id ] \
    [ -user_id user_id ] [ -creation_ip creation_ip ] \
    [ -content content ] [ -comment_mime_type comment_mime_type ] \
    [ -is_live is_live ] [ -title title ] [ -context_id context_id ]

add new trackback

Switches:
-tb_url (optional)
-blog_name (optional)
-object_id (optional)
-comment_id (optional)
-user_id (optional)
-creation_ip (optional)
-content (optional)
-comment_mime_type (optional)
-is_live (optional)
-title (optional)
-context_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_dml db_dml (public) trackback::new trackback::new trackback::new->db_dml

Testcases:
No testcase defined.

trackback::object_url (public)

 trackback::object_url [ -object_id object_id ]

returns a fully qualified URL for trackback

Switches:
-object_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/trackback/lib/trackback-chunk.tcl packages/trackback/ lib/trackback-chunk.tcl trackback::object_url trackback::object_url packages/trackback/lib/trackback-chunk.tcl->trackback::object_url trackback::package_url trackback::package_url (public) trackback::object_url->trackback::package_url

Testcases:
No testcase defined.

trackback::package_url (public)

 trackback::package_url

returns url of mount location for trackback package

Partial Call Graph (max 5 caller/called nodes):
%3 trackback::object_url trackback::object_url (public) trackback::package_url trackback::package_url trackback::object_url->trackback::package_url apm_package_url_from_key apm_package_url_from_key (public) trackback::package_url->apm_package_url_from_key

Testcases:
No testcase defined.

trackback::send_ping (public)

 trackback::send_ping [ -ping_url ping_url ] [ -url url ] \
    [ -excerpt excerpt ] [ -title title ] [ -blog_name blog_name ] \
    [ -method method ]

sends a trackback ping. returns status code if successful, or error message if unsuccessful

Switches:
-ping_url (optional)
URL to send ping to
-url (optional)
URL ping is from
-excerpt (optional)
Short text from URL referring to ping_url
-title (optional)
title of URL
-blog_name (optional)
-method (optional, defaults to "POST")
Author:
Dave Bauer dave@thedesignexperience.org
Created:
2003-04-14

Partial Call Graph (max 5 caller/called nodes):
%3 trackback::auto_ping trackback::auto_ping (public) trackback::send_ping trackback::send_ping trackback::auto_ping->trackback::send_ping empty_string_p empty_string_p (public, deprecated) trackback::send_ping->empty_string_p export_vars export_vars (public) trackback::send_ping->export_vars

Testcases:
No testcase defined.
[ show source ]