Apr
2007
4

How to fix UTW when it stops returning Tags

by Matt

Ultimate Tag Warrior is an awesome plugin. If you don't have it, get it, NOW!  *waiting...waiting*

Ok, now that everyone is back, let's discuss a problem I ran into and how to fix it. When you write a post and have the UTW plugin activated, you will notice a section below the post edit box that gets related tags for you. UTW sends your post to Yahoo's content api, and then Yahoo returns keywords based on the content...really cool stuff. You can see the Yahoo content API Here.

The API will only send 5,000 queries per application ID. So if you click on the "Get Keyword Suggestions From Yahoo" button and nothing happens UTW has probably reached it's limit of queries. Think about how many blogs UTW is installed on...it's a lot.

You can fix this by adding your own Yahoo API Application ID. I know it sounds hard but I don't think you have to even go to yahoo to change it.

The file to edit is in the UTW plugin folder. The file name is ultimate-tag-warrior-ajax.php 

On line 95 you will see $appID = "wp-UltimateTagWarrior"; If your editor does not have line numbers, you can search for "wp-UltimateTagWarrior". Change the appID to whatever you want, but make it unique because if the appID is already in use by another large website you might just run into the same problem as before. I changed the appID to my credit card number: 4532-2344... J/k Tongue out

anyhow, once it is changed, re-upload the file and go check it on a post...it should work and return the tags based on the content of your post. 

Here is another useful code snippet I use to return tags based on content
You can try the code out here: My Keyword Generator
Simply send it content and it returns the keywords, don't forget to change the appID in the snippet too.

PHP:
  1. function get_keywords($context)
  2. {
  3. // output=php means that the request will return serialized PHP
  4. $request'http://search.yahooapis.com/ContentAnalysisService/V1/termExtraction';
  5. $ch = curl_init($request);
  6. $fields = array(
  7. "context" => $context,
  8. "appid" => 'your_App_ID',
  9. "output" => 'php'
  10. );
  11. $sendheaders = array("User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)",);
  12. curl_setopt($ch, CURLOPT_POST, 1);
  13. curl_setopt($ch, CURLOPT_HEADER, 0); // set to 0 to eliminate header info from response
  14. curl_setopt($ch, CURLOPT_NOBODY, 0); // set to 1 to eliminate body info from response
  15. curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); // use HTTP/1.0 instead of 1.1
  16. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // Returns response data instead of TRUE(1)
  17. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); // uncomment this line if you get no gateway response. ###
  18. curl_setopt($ch, CURLOPT_HTTPHEADER, $sendheaders);
  19. curl_setopt($ch, CURLOPT_POSTFIELDS, $fields); // use HTTP POST to send form data
  20.  
  21. $resp = curl_exec($ch); //execute post and get results
  22. curl_close ($ch);
  23. //echo $resp;
  24.  
  25. if ($resp === false) {
  26.     die('Request failed');
  27. }
  28.  
  29. $phpobj = unserialize($resp);
  30. return $phpobj;
  31. }

Tags:

Popularity: 9% [?]

Other posts you might be interested in
  • Better SEO for your Website using Plugins and Tags -Part 2  Ok, so we have our tags set up from part 1 for single post pages. Now we need to make
  • Real World SEO Examples - How important is your website title?  First off, I hate SEO, (search engine optimization)...I hate it because, for one, nobody really knows what the search engine
  • Post your Single Property Website to Craigslist, No Editing Required   First, I want to note that Craigslist has updated their formatting again...Our flyers, Postlets and Vflyer are all affected by
  • Hiding Pages with Wordpress part 2 - Errors, Omissions, and Solutions  In a previous post, how to hide pages in wordpress, I talked about hiding pages in wordpress. I gave three
  • Major Update to Realivent CMA Plugin - Awesome tool to get returning traffic to your website   We have a major update to the realivent wordpress CMA Plugin, I'd like to say it when from "great" to


  • Dec
    2006
    4

    How to Start Podcasting, Post to Blogs, and feed to Itunes

    by Matt

    Let's start podcasting, it's not hard, and you don't have to buy anything...except a computer. I'm going to show you how to create a podcast using a couple Free tools that you can get from the internet, and show you have to then add to your blog, and then I will subscribe them to Itunes.

    Before we start, here is what you need for the most simple podcast.

    • A Working Microphone, A broken microphone will not work in this situation... I tried.
    • Sound Recorder - This is a free application that comes with Windows. To access the Sound Recorder go to Start -> Programs -> Accessories -> Entertainment -> Sound Recorder
    • A blog, or another way to create an RSS feed. If you need to build a blog, go to http://realivent.com/wp-signup.php
    • Itunes to play the podcast. You can also play the mp3 directly from your blog, but Itunes will let you see how other will view and subscribe to your podcast. Get this from www.itunes.com. There is also a good explanation of what podcasting is.
      http://www.apple.com/itunes/store/podcasts.html

    Ok, you ready...Sound recorder is very simple, just get your mic and click on record.

    soundrecorder.jpg

    If this is your first podcast, I bet you said "testing, testing, 1, 2, 3" everyone says that the first time. I don't know why...but I bet you did.

    You have to save the file as an mp3...you can't podcast the default .wav file that sound recorder tries to save it as. Make your recording and then click on save. You have to change a couple setting on the save file box. Change "Save As Type" from ".wav" to "All Files". Click on "Change", below "Save As Type". This will open a Sound Selection box. Use the drop down to save the output as an mp3. Click "OK" and the sound selection box will close, and you can save the new recording as an mp3.

    **Make sure you use the full file name. If you only use the filename "podcast" it will still save it as a .wav file. You have to type "podcast.mp3" to save the recording as an MP3.

    save_file.jpg

    Now that you have you a shiny new mp3, you need to get it out to the public. There are millions of people just waiting for your information. The easiest way to syndicate is to add it to a blog. If you don't have a blog, just go to realivent.com and create a free one. I created pods.realivent.com. To add your mp3 to your blog is easy, just go to the admin section of the blog, write a new post, upload the mp3 using the file uploader, and then send to post. Once it's in a post, people can subscribe to it, just like they subscribe to your blog. Itunes is able to parse blogs and find only the mp3's. When a new podcast is available it will not download it, but you can see that there are new podcasts, and then you can choose to download the mp3 and listen.

    If you open up Itunes, you can subscribe to my podcast at http://pods.realivent.com/feed

    I was hoping to finish this post earlier and continue to talk about enhancing the podcast, but I think I will do that later. There is a very cool music editor that you can use for free called Audacity. I will take my simple podcast and add some background music to it. Then once we get the editing down we will look at using Skype to create podcasts. When you use Skype you can create podcasts with multiple people from all around the world...should be good.

    Tags:

    Popularity: 6% [?]

    Other posts you might be interested in
  • pingback bouncer…stop the refer spam with this plugin  I was reading a post on condodomain, about a crackberry???? and email addiction. Good post, but you will never get
  • Our Virtual Tours have been updated  This weekend I focused on the virtual tour, and to be honest got a little carried away. I ended up
  • Bug Alert - New SFARMLS Public Home Search  If you are a San Francisco RealtorĀ an use the public home search tool for your websites, there is a little
  • If I had one tool to market a listing, it would be the Listing Designer  Given all the marketing tools that Realtors use to market properties, I would take the listing designer over anything. website, blogs,
  • Realiventblog giving the link love because you deserve it  We added a new plugin to our site today. It is called Link Love, and it rewards passionate readers by


  • Close
    E-mail It
    Rodney's Adsense-Deluxe Add ons plugged in.