CodeIgniter Forums
trackback help!!! - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: trackback help!!! (/showthread.php?tid=20537)



trackback help!!! - El Forum - 07-13-2009

[eluser]jorx[LINUX][/eluser]
hi guyz!! I'm just a beginner in CI... and in web developmnt....

I need some help!!!! I'm trying out the trackback sample from the user guide...

just want to know if what should I put..

Code:
$tb_data = array(
                'ping_url'  => 'SHOULD THIS BE MY BLOG'S URL???',
                'url'       => 'WOULD LOCALHOST WORK???',
                'title'     => 'The Title of My Entry',
                'excerpt'   => 'The entry content.',
                'blog_name' => 'My Blog Name',
                'charset'   => 'utf-8'
                );



trackback help!!! - El Forum - 07-13-2009

[eluser]garymardell[/eluser]
Quote:Description of array data:

* 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.
* blog_name - The name of your weblog.
* charset - The character encoding your weblog is written in. If omitted, UTF-8 will be used.

I quote the userguide, it says clearly that the ping_url should be the address of the site you want to send the trackback too.


trackback help!!! - El Forum - 07-13-2009

[eluser]jorx[LINUX][/eluser]
ok.. thankz just slightly confuse with the 'your ping url' section


trackback help!!! - El Forum - 07-14-2009

[eluser]garymardell[/eluser]
That section is for sending trackbacks not receiving them. So you have to specify the url of the blog that you are pinging too.