Page 1 of 1

SimplyHired XML Feed

Posted: 13 Jan 2015, 00:29
by mytym2shn
I am having a hard time submitting the correct feed to simplyhired...the current xml feed only shows the indeed version and not the simply hired...what do I need to do to make sure the simplyhired format can show up also. Simplyhired said they wont include my feed unless I use their guideline.

The current feed is shown at :http://rightonhire.net/index.php?m=xml

Example of results

<source>
<publisher>Right On Hire</publisher><publisherurl>http://www.rightonhire.net/careers</publisherurl>
<lastBuildDate>Mon, 12 Jan 2015 17:26:40 CST</lastBuildDate>
<job><title>Enrollment Director</title>
<date>Mon, 12 Jan 2015 16:42:14 CST</date>
<referencenumber>62</referencenumber>
<url>http://rightonhire.net/careers/?p=showJ ... ndeed</url>
<company>Right On Hire (www.rightonhire.net)</company><city>Scottsdale</city><state>AZ</state><country>US</country><postalcode/><description><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:Use

Re: SimplyHired XML Feed

Posted: 13 Jan 2015, 11:23
by RussH

Re: SimplyHired XML Feed

Posted: 14 Jan 2015, 00:30
by mytym2shn
I did what was in the thread but that wasn' t what I was looking for, but after doing it, for some reason my rss feed won't show up on IE but will on firefox. So I undid the changes and it still wont show. When using IE it states that This feed contains code errors but I don't changed what was stated and even went back and copy the original file date from the archive and it still wont show up right on IE..any suggestions?

http://rightonhire.net/rss/

Re: SimplyHired XML Feed

Posted: 14 Jan 2015, 14:24
by RussH
mytym2shn wrote:I did what was in the thread but that wasn' t what I was looking for, but after doing it, for some reason my rss feed won't show up on IE but will on firefox. So I undid the changes and it still wont show. When using IE it states that This feed contains code errors but I don't changed what was stated and even went back and copy the original file date from the archive and it still wont show up right on IE..any suggestions?

http://rightonhire.net/rss/

The IE error says

Whitespace is not allowed at this location.
Line: 114 Character: 16

<title>Health & Safety Manager (Hire)</title>


..so looks like it's choking over the ampersand. Can you replace it with the word 'and' instead? The code to generate the feed doesn't escape the illegal characters.

Re: SimplyHired XML Feed

Posted: 16 Jan 2015, 18:39
by mytym2shn
Thanks that took care of things...one last thing, simplyhired wants the posted date to be in the following format, how do i change it and what files do I need to change?

<!--date in Unix format: yyyy/MM/dd -->
<posted-date>2010/02/22</posted-date>

Re: SimplyHired XML Feed

Posted: 20 Jan 2015, 15:12
by RussH
Hi,

I've not changed this myself - but looking at the config, seems you should change the template files here;

https://github.com/opencats/OpenCATS/tr ... _templates