Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Schema to our website

Status
Not open for further replies.

tyutghf

Technical User
Apr 12, 2008
258
GB
I have been tasked with adding Google jobs schema to our job board website.

We have a mini website featuring a job list page and individual job pages.

Can someone help point me in the right direction, I've read up on schema but a little confused.

Do we put the schema on the list page or the detail page?

Am I supposed to add it inline using itemscope, itemprop etc or using the script <script type="application/ld+json"> or both?

So if it helps, the job search page lists the jobs like this

Code:
<div class='jobList'>
[indent]<div class='jobItem'><h2>job title</h2><p>Excerpt</p></div>[/indent]
[indent]<div class='jobItem'><h2>job title</h2><p>Excerpt</p></div>[/indent]
[indent]<div class='jobItem'><h2>job title</h2><p>Excerpt</p></div>[/indent]
</div>

and the detail pages

Code:
<h1>job title</h1>
<div class='jobid'></div>
<div class='jobsalary'></div>
<div class='jobdesc'></div>

Thanks
 
Do we put the schema on the list page or the detail page?

Without knowing anything about this API or how your pages are supposed to work, the answer to that is probably .... Yes.

Anyone how is going to be able to assist will need to know if you are intending to derive the list from the API or just the details or both, I would guess at both, but guessing generally isn't good for getting the details right.

By the way;
Isn't a "mini website" a bit like being "slightly pregnant"? :)


Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.

Never mind this jesus character, stars had to die for me to live.
 
Do we put the schema on the list page or the detail page?

The question to ask yourself is how you want people to arrive at your site.

If I'm looking for a "custodian" job through the googles, I would want to land on your "custodian" job description page, not the general job listing page that includes "custodian" as one of 200 other positions.

If your job detail pages are easily crawled by a search engine (not obfuscated through a complex filter form), your priority would be to classify their details. If the job detail pages are not easily crawled, you would want rich data describing a listing page.

The method you use (inline/json/etc) would likely depend on what else you have configured. If you're using a common CMS (WordPress, Drupal, etc), there would be a module/plugin that makes this easier.

I believe the inline method is limited to HTML5.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top