?
Solved

Access Monster.com joblist using RSS, XML and/or API?

Posted on 2012-09-01
15
Medium Priority
?
4,373 Views
Last Modified: 2013-11-18
I am trying to build some standard feeds and searches for Monster.com joblists.  I can get emails from saved searches, but what are my dynamic options using RSS, XML and/or API's?

I believe that Monster used to allow you to save searches which would create RSS or XML feeds.  But, I don't seem to have that option.

Thanks...RG
0
Comment
Question by:RGRodgers
  • 9
  • 6
15 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 38358828
What have you tried so far?  Is there any Monster.com API documentation?  If so, it may be easy to get something working.
0
 
LVL 8

Author Comment

by:RGRodgers
ID: 38358857
Basically, I can't find much of a clue on where to start.  From what I can gather, you could easily save a search as an RSS or XML feed in the past.  However, the search save command now gives basic email as the only available option.

I know that at least RSS must be available.  Hints toward this include:
http://www.nealgrosskopf.com/extras/monster/
http://websearch.about.com/od/jobsearchengines/qt/monster-jobs.htm (old?)
http://rss.jobsearch.monster.com/rssquery.ashx?q=Web%20Developer (working example)

I just can't seem to find the loose thread that I can chase down and find a way to build the feed.  I'd prefer the API, but I am getting convinced they just don't have one and probably won't, though I'd like to be wrong on that.

Thanks...RG
0
 
LVL 8

Author Comment

by:RGRodgers
ID: 38358859
Another clue, but this just isn't working for me...  I don't know what I am missing.
http://www.listmyfive.com/47bf0a0d/The-Top-Five-Job-Search-Sites-With-RSS-Feeds

Thanks...RG
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 38358920
Have a look at this:
http://www.laprbass.com/RAY_temp_rgrodgers.php

<?php // RAY_temp_rgrodgers.php
error_reporting(E_ALL);

// ACQUIRE THE RSS FEED AND MAKE AN OBJECT
$url = 'http://rss.jobsearch.monster.com/rssquery.ashx?q=Web%20Developer';
$xml = file_get_contents($url);
$obj = SimpleXML_Load_String($xml);

// ACTIVATE THIS TO SEE THE ENTIRE OBJECT
// echo '<pre>';
// var_dump($obj);

// REVEAL SOME OF THE PROPERTIES OF THE OBJECT
$t = (string)$obj->channel->title;
$d = (string)$obj->channel->pubDate;
echo '<h2>' . $t . ' PUBLISHED ON ' . $d . '</h2>';

// REVEAL SOME OF THE PROPERTIES OF THE ITEMS
foreach ($obj->channel->item as $item)
{
    $t = $item->title;
    $l = $item->link;
    $d = $item->description;
    $a = '<a target="_blank" href="'
       . $l
       . '">'
       . $t
       . '</a>'
       ;
    echo '<p>' . $a . '<br/>' . PHP_EOL;
    echo $d;
    echo '</p>' . PHP_EOL;
}

Open in new window

Please post back with any questions, ~Ray
0
 
LVL 8

Author Comment

by:RGRodgers
ID: 38359515
Okay, now that is pretty cool, especially after I enabled the var_dump.  I am sure I'll have some follow-up on it, but I like it!  I was really looking for Monster documentation and/or direction, but this just might do it.

I'll be back with follow-up.  Thanks for all your help so far...RG
0
 
LVL 8

Author Comment

by:RGRodgers
ID: 38359529
I am going to work with the PHP, but I do have a follow-up already.  I found an OPML file that can be used to set up an RSS reader with a series of feeds.  I was interested in getting Monster formatted into that list as well.  Given what you have seen with your PHP script, would you be able to do that?  The file is as follows:

<?xml version="1.0" encoding="utf-8" ?><opml version="1.1"><head>   <title>Design and Development Job Feeds</title>   <dateCreated>Thu, 14 Jan 2010 01:15:36 +0100</dateCreated></head><body><outline text="Design and Development Jobs"><outline title="Authentic Jobs" text="www.authenticjobs.com/rss/index.xml" type="rss" xmlUrl="http://www.authenticjobs.com/rss/index.xml" />
<outline title="Smashing Jobs" text="jobs.smashingmagazine.com/rss/all" type="rss" xmlUrl="http://jobs.smashingmagazine.com/rss/all" />
<outline title="DesignM.ag Job Board" text="feeds2.feedburner.com/WebDesignJobBoard" type="rss" xmlUrl="http://feeds2.feedburner.com/WebDesignJobBoard" />
<outline title="Coroflot" text="feeds.feedburner.com/Coroflot/AllJobs" type="rss" xmlUrl="http://feeds.feedburner.com/Coroflot/AllJobs" />
<outline title="Freelance Switch Job Board" text="feeds.feedburner.com/FSAllJobs" type="rss" xmlUrl="http://feeds.feedburner.com/FSAllJobs" />
<outline title="Krop" text="www.krop.com/services/feeds/rss/latest/" type="rss" xmlUrl="http://www.krop.com/services/feeds/rss/latest/" />
<outline title="37signals Job Board" text="jobs.37signals.com/jobs.rss" type="rss" xmlUrl="http://jobs.37signals.com/jobs.rss" />
<outline title="Ars technica Job Board" text="jobs.arstechnica.com/feeds/all/" type="rss" xmlUrl="http://jobs.arstechnica.com/feeds/all/" />
<outline title="ReadWrite Web Job Board" text="jobs.readwriteweb.com/feeds/rss20" type="rss" xmlUrl="http://jobs.readwriteweb.com/feeds/rss20" />
<outline title="Jobs on the Wall" text="feeds.feedburner.com/designjobs" type="rss" xmlUrl="http://feeds.feedburner.com/designjobs" />
   </outline></body></opml>

Thanks again...RG
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 38359618
Please use the code snippet feature to post code and html here.  It gives us unispace fonts that are easier to read, and line numbers that facilitate conversation.

What exactly do you want to do with this XML?

<?xml version="1.0" encoding="utf-8" ?><opml version="1.1"><head>   <title>Design and Development Job Feeds</title>   <dateCreated>Thu, 14 Jan 2010 01:15:36 +0100</dateCreated></head><body><outline text="Design and Development Jobs"><outline title="Authentic Jobs" text="www.authenticjobs.com/rss/index.xml" type="rss" xmlUrl="http://www.authenticjobs.com/rss/index.xml" />
<outline title="Smashing Jobs" text="jobs.smashingmagazine.com/rss/all" type="rss" xmlUrl="http://jobs.smashingmagazine.com/rss/all" />
<outline title="DesignM.ag Job Board" text="feeds2.feedburner.com/WebDesignJobBoard" type="rss" xmlUrl="http://feeds2.feedburner.com/WebDesignJobBoard" />
<outline title="Coroflot" text="feeds.feedburner.com/Coroflot/AllJobs" type="rss" xmlUrl="http://feeds.feedburner.com/Coroflot/AllJobs" />
<outline title="Freelance Switch Job Board" text="feeds.feedburner.com/FSAllJobs" type="rss" xmlUrl="http://feeds.feedburner.com/FSAllJobs" />
<outline title="Krop" text="www.krop.com/services/feeds/rss/latest/" type="rss" xmlUrl="http://www.krop.com/services/feeds/rss/latest/" />
<outline title="37signals Job Board" text="jobs.37signals.com/jobs.rss" type="rss" xmlUrl="http://jobs.37signals.com/jobs.rss" />
<outline title="Ars technica Job Board" text="jobs.arstechnica.com/feeds/all/" type="rss" xmlUrl="http://jobs.arstechnica.com/feeds/all/" />
<outline title="ReadWrite Web Job Board" text="jobs.readwriteweb.com/feeds/rss20" type="rss" xmlUrl="http://jobs.readwriteweb.com/feeds/rss20" />
<outline title="Jobs on the Wall" text="feeds.feedburner.com/designjobs" type="rss" xmlUrl="http://feeds.feedburner.com/designjobs" />
   </outline></body></opml>

Open in new window

0
 
LVL 8

Author Comment

by:RGRodgers
ID: 38359621
I'd like a Monster entry that would initiate an RSS feed much as those provided above.  Thanks...RG
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 38359709
Wouldn't that be something you would purchase or request from Monster?  How could we provide that for you?
0
 
LVL 8

Author Comment

by:RGRodgers
ID: 38359771
FWIW, I have already sent them a request and don't yet have a response.  If I get one, I will post it here.  Thanks...RG
0
 
LVL 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 2000 total points
ID: 38360992
Sounds good.  You might try installing this and running it.  It seems to work fairly well, and it creates a lot of output!  See line 24.

<?php // RAY_temp_rgrodgers.php
error_reporting(E_ALL);

// TEST DATA FROM THE POST AT EE
$xml = <<<XML
<?xml version="1.0" encoding="utf-8" ?>
<opml version="1.1">
  <head>
    <title>Design and Development Job Feeds</title>
    <dateCreated>Thu, 14 Jan 2010 01:15:36 +0100</dateCreated>
  </head>
  <body>
    <outline text="Design and Development Jobs">
      <outline title="Authentic Jobs"             text="www.authenticjobs.com/rss/index.xml"                       type="rss" xmlUrl="http://www.authenticjobs.com/rss/index.xml" />
      <outline title="Smashing Jobs"              text="jobs.smashingmagazine.com/rss/all"                         type="rss" xmlUrl="http://jobs.smashingmagazine.com/rss/all" />
      <outline title="DesignM.ag Job Board"       text="feeds2.feedburner.com/WebDesignJobBoard"                   type="rss" xmlUrl="http://feeds2.feedburner.com/WebDesignJobBoard" />
      <outline title="Coroflot"                   text="feeds.feedburner.com/Coroflot/AllJobs"                     type="rss" xmlUrl="http://feeds.feedburner.com/Coroflot/AllJobs" />
      <outline title="Freelance Switch Job Board" text="feeds.feedburner.com/FSAllJobs"                            type="rss" xmlUrl="http://feeds.feedburner.com/FSAllJobs" />
      <outline title="Krop"                       text="www.krop.com/services/feeds/rss/latest/"                   type="rss" xmlUrl="http://www.krop.com/services/feeds/rss/latest/" />
      <outline title="37signals Job Board"        text="jobs.37signals.com/jobs.rss"                               type="rss" xmlUrl="http://jobs.37signals.com/jobs.rss" />
      <outline title="Ars technica Job Board"     text="jobs.arstechnica.com/feeds/all/"                           type="rss" xmlUrl="http://jobs.arstechnica.com/feeds/all/" />
      <outline title="ReadWrite Web Job Board"    text="jobs.readwriteweb.com/feeds/rss20"                         type="rss" xmlUrl="http://jobs.readwriteweb.com/feeds/rss20" />
      <outline title="Jobs on the Wall"           text="feeds.feedburner.com/designjobs"                           type="rss" xmlUrl="http://feeds.feedburner.com/designjobs" />
      <outline title="Monster (added)"            text="rss.jobsearch.monster.com/rssquery.ashx?q=Web%20Developer" type="rss" xmlUrl="http://rss.jobsearch.monster.com/rssquery.ashx?q=Web%20Developer" />
    </outline>
  </body>
</opml>
XML;

// MAKE AN OBJECT
$oln = SimpleXML_Load_String($xml);

// ACTIVATE THIS TO SEE THE ENTIRE OBJECT
// echo '<pre>';
// var_dump($oln);


// ITERATE OVER THE OUTLINES
foreach ($oln->body->outline->outline as $o)
{
    $t   = (string)$o['title'];
    $u   = (string)$o['xmlUrl'];
    echo '<h1>' . $t . '</h1>';

    // ACQUIRE THE RSS FEED AND MAKE AN OBJECT
    $xml = file_get_contents($u);
    if ($obj = @SimpleXML_Load_String($xml))
    {
        // ACTIVATE THIS TO SEE THE OBJECT
        // echo '<pre>';
        // var_dump($obj);

        // REVEAL SOME OF THE PROPERTIES OF THE OBJECT
        $t = (string)$obj->channel->title;
        $d = (string)$obj->channel->pubDate;
        echo '<h2>' . $t . ' PUBLISHED ON ' . $d . '</h2>' . PHP_EOL;

        // REVEAL SOME OF THE PROPERTIES OF THE ITEMS
        foreach ($obj->channel->item as $item)
        {
            $t = $item->title;
            $l = $item->link;
            $d = $item->description;
            $a = '<a target="_blank" href="'
               . $l
               . '">'
               . $t
               . '</a>'
               ;
            echo '<p>' . $a . '<br/>' . PHP_EOL;
            echo $d;
            echo '</p>' . PHP_EOL;
        }
    }
    else
    {
        echo '<h2 style="color:red">' . "CANNOT GET $u" . '</h2>' . PHP_EOL;
    }
}

Open in new window

HTH, ~Ray
0
 
LVL 8

Author Comment

by:RGRodgers
ID: 38361193
Ray -- Outstanding answers all from you Ray.  I really, really appreciate your help and would even give you bonus points if I could!  <grin>  I am going to leave the question open a day or two so that I can add Monster's response, too, if they do respond.  At that point, I will close it with your solutions.  Thanks so much for your help!  ...RG
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 38361334
Glad to help!  All the best, ~Ray
0
 
LVL 8

Author Comment

by:RGRodgers
ID: 38378587
For the record, I did just receive a (extremely disappointing) response from Monster.com as follows.  These guys are suffering from too-big-to-fail disease.  ...RG

Thank you for contacting Monster. My name is LaQuan. I gather from your email that you are wanting to save a search as an RSS feed and use something other than email. Unfortunately we do not offer that feature anymore. You would need to use or saved search and be alerted by email. We also at this time do not have OTML files on our site. I do apologize for the inconvenience this may have caused you. If you need any help with setting up a saved search I would be happy to happy to help just let me know.

If you have any questions or comments please feel free to simply put them in a reply to this email.

Best Regards,

LaQuan
Monster Customer Service Representative
0
 
LVL 8

Author Comment

by:RGRodgers
ID: 38379890
Monster.com came back with a revised response so I want to post it here.  It does actually allow you to set up an RSS feed through their Browse Jobs interface on their job search page.
...RG

The steps to setting this up are as follows.

1. Log into your Monster account
2. In the purple banner hover over jobs and click on "browse jobs"
3. This will bring you to a screen where you can choose the criteria you want to search by
4. When your done choosing simply click on the orange icon next to Nationwide jobs and follow the prompts to complete set up process.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question