[英]Implementation of Google Job Posting
我已经阅读了这篇文章: https : //developers.google.com/search/docs/data-types/job-posting#JobPosting-definition,并找到了我需要添加到职位发布中的必填属性。 我不确定如何实际执行此操作。 我看到提到它是用JSON完成的,但我并不熟悉。 有没有一种简单的方法可以使用html将这些属性添加到工作职位,例如出现在Wordpress网站的博客工作中的属性?
有没有一种简单的方法可以使用html将这些属性添加到工作职位,例如出现在Wordpress网站的博客工作中的属性?
没有。
HTML是一种文档格式,它不适合提供具有此类问题所需的结构级别的数据。
我看到提到它是用JSON完成的,但我并不熟悉。
这就是您希望使用的API期望提供数据的格式(这也是绝大多数 Web服务使用的格式)。 您需要熟悉它。
阅读网站和规范 ,并找到用于连接到Job Posting API的任何编程语言的JSON编码库(例如JavaScript的JSON对象 )。
谢谢您对昆汀的回复。 不幸的是,客户需要尽快准备一些东西,所以我没有时间学习JSON。 但是,我确实找到了可以解决问题的WP插件。 它的名称为WP Job Management:WP Job Management: https : //wordpress.org/plugins/wp-job-manager/ 。
在这里,我为我的一位客户实施。
他们正在运行求职门户网站。 所以我已经使用json_ld完成了工作发布架构。 这是我在页面内使用的代码
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "JobPosting",
"baseSalary": "100000",
"jobBenefits": "Medical, Life, Dental",
"datePosted": "2011-10-31",
"description": "Description: ABC Company Inc. seeks a full-time mid-level software engineer to develop in-house tools.",
"educationRequirements": "Bachelor's Degree in Computer Science, Information Systems or related fields of study.",
"employmentType": "Full-time",
"experienceRequirements": "Minumum 3 years experience as a software engineer",
"incentiveCompensation": "Performance-based annual bonus plan, project-completion bonuses",
"industry": "Computer Software",
"jobLocation": {
"@type": "Place",
"address": {
"@type": "PostalAddress",
"addressLocality": "Kirkland",
"addressRegion": "WA"
}
},
"occupationalCategory": "15-1132.00 Software Developers, Application",
"qualifications": "Ability to work in a team environment with members of varying skill levels. Highly motivated. Learns quickly.",
"responsibilities": "Design and write specifications for tools for in-house customers Build tools according to specifications",
"salaryCurrency": "USD",
"skills": "Web application development using Java/J2EE Web application development using Python or familiarity with dynamic programming languages",
"specialCommitments": "VeteranCommit",
"title": "Software Engineer",
"workHours": "40 hours per week"
}
</script>
这是实施良好计划的站点之一,请参阅: https : //allgovernmentjobs.in/ 。 在这里您可以找到职位发布模式。
您可以将以下网址检查: https : //allgovernmentjobs.in/latest-government-jobs进入google结构数据测试工具: https : //search.google.com/structured-data/testing-tool/u/0/获取网址。 您将了解有关代码如何实现的想法,它有助于在Google搜索中获得更好的结果
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.