Results 1 to 4 of 4

Thread: PLZ help - Wordpress plugin

  1. #1
    Join Date
    May 2006
    Posts
    266
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default PLZ help - Wordpress plugin

    Hi I have looked everywhere but can find out how to do the following.

    What they require is the following information
    site name
    site URL
    post title
    post body
    post keywords
    post writtenby
    Post URL Link

    the API to the site i need to send the data to said that it needs to either be by using the post function or by the following

    http://www.example.com/?site=[Name URL]&sitename=[Sitename]&posttitle=[Post Title]&postbody[Post Body]&keywords=[Keywords]&writtenby=[WrittenBy]&posturl=[Link to post]

    If you can help with how i would get it so that when i publish a story or post in wordpress it sends this information to them that would be great.

    I understand what they are asking for but I don't know how to make a plugin for wordpress that would do this.
    Thanks
    Russell
    The web in one word.

  2. #2
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    I have a WordPress plugin that does exactly that if you are interested in using one that's already made versus making your own...

    It's called SexyBookmarks and can be found here: http://sexybookmarks.net

    If you would rather do it on your own, WordPress plugins are opensource and can be modified at will, so just reverse-engineer one to get the idea...

    I'll give you some basic pointers though...


    To get the URL of a WordPress post, simply use the following:
    PHP Code:
    <?php echo get_permalink(); ?>
    To get the title of a WordPress post, simply use this:
    PHP Code:
    <?php echo get_the_title(); ?>
    The site name can be echoed using:
    PHP Code:
    <?php echo get_bloginfo('name'); ?>
    You can get post content using:
    PHP Code:
    <?php echo get_the_content(); ?>

    There are a host of other predefined functions built into WordPress to make your life much easier, and finding them is as simple as searching the codex on http://wordpress.org

    Good Luck!
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  3. The Following User Says Thank You to TheJoshMan For This Useful Post:

    queerfm (08-04-2009)

  4. #3
    Join Date
    May 2006
    Posts
    266
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I Thank you for your support, I have sent you a PM message, I think you will be interested...
    The web in one word.

  5. #4
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    Hmm, I never got a PM from you...

    You can use the contact form on my site if you'd like:

    http://sexybookmarks.net/contact-forms/contact-us
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •