- Publicity: Public Only All
trackback-procs.tcl
- Location:
- packages/trackback/tcl/trackback-procs.tcl
Procedures in this file
- trackback::auto_ping (public)
- trackback::get_ping_url (public)
- trackback::new (public)
- trackback::object_url (public)
- trackback::package_url (public)
- trackback::send_ping (public)
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):
- 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):
- 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):
- 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):
- 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):
- 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):
- Testcases:
- No testcase defined.