我已阅读本文:https://developers.google.com/search/docs/data-types/job-posting#JobPosting-definition,并找到了我需要添加到职位发布中的必填属性。我不确定如何实际执行此操作。我看到提到它是用JSON完成的,但我并不熟悉。有没有一种简单的方法可以使用html将这些属性添加到工作职位,例如出现在Wordpress网站博客中的那些职位?
答案 0 :(得分:1)
有没有一种简单的方法可以使用html将这些属性添加到工作职位,例如出现在Wordpress网站博客中的那些职位?
不。
HTML是一种文档格式,它不适合提供具有此类问题所需的结构级别的数据。
我看到有人提到它是用JSON完成的,但我并不熟悉。
这是您希望使用的API期望提供数据的格式(也是大多数Web服务使用的 vast 格式)。您需要熟悉它。
阅读the website和the specification,并找到用于连接到Job Posting API(例如JSON object for JavaScript)的任何编程语言的JSON编码库。
答案 1 :(得分:0)
感谢您的回复。不幸的是,客户需要尽快准备一些东西,所以我没有时间学习JSON。但是,我确实找到了可以解决问题的WP插件。它的名称为WP Job Management:https://wordpress.org/plugins/wp-job-manager/。
答案 2 :(得分:0)
我在这里为我的一位客户实施了
他们正在运行求职门户网站。所以我已经使用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搜索中获得更好的结果