techdivision/jobs-googleapi
Composer 安装命令:
composer require techdivision/jobs-googleapi
包简介
Package to send updated or deleted JobPostings to the Google Indexer API
README 文档
README
This package is in beta status
It does work from a technical point of view, but there might be a lot of edge cases with the google crawler.
We are happy if you can provide feedback from real world scenarios. Send them to neos@techdivision.com.
Thank you very much!
With Jobs you can access the google indexing API - currently the only valid use of the indexing API.
Please be aware that this consumes your site's crawling budget, so use with care!
In order for this to work, we added
- a backend module to send your new/changed jobs to the api
(one could make this automatic, but this is kinda dangerous because each little publish would send it to the API and eat up your crawling budget) - a feature flag for automatic API calls on job deletion
(which in turn is disabled by default for the same reason)
In addition, deleted jobs need to send at least a 404 header.
If you are serious about jobs, please install neos/redirecthandler-neosadapter
to send a proper 410 status code after job deletion.
This package is based on flowpack/googleapiclient.
Please follow the package instructions on how to setup your api key.
Installation
TechDivision.Jobs.GoogleApi is available via packagist. Add "techdivision/jobs-googleapi" : "1.0.*@dev" to the require section of the composer.json
or run composer require techdivision/jobs-googleapi:1.0.*@dev.
The backend module
Configuration
Enable the API call on deletion:
TechDivision:
Jobs:
GoogleApi:
options:
enableApiCallOnJobDeletion: false
...
After configuration there are a few things you need to do, if you haven't done them already: Prerequisites for the Indexing API
####Important: After creating the project and a new service account you need to verify the site ownership! Follow these steps to verify your service account as an owner.
- Follow the recommended steps to verify ownership of your property.
- After your property has been verified, open Search Console.
- Click your verified property.
- Click Settings.
- Go to user settings.
- Click manage property owner. (You need to be a Property-Owner!)

- Add your service account mail.
The email address has a format similar to the following:
my-service-account@project-name.google.com.iam.gserviceaccount.com
Logfiles
There is a logfile for more detailed information: JobIndexingLog.log
Enable logGoogleClientConfiguration if want to show your configuration after updating jobPostings.
TechDivision:
Jobs:
GoogleApi:
options:
...
logGoogleClientConfiguration: false
Further packages
To make jobs complete, we do offer a set of packages:
- techdivision/jobs
Basic job package with schema.org markup - techdivision/jobs-applicationform
An application form based on neos/form-builder - techdivision/card-jobs
Visual card style for jobs (see also techdivision/card) - techdivision/form-encryption
PGP/GPG form encryption to meet data protection standards
Contribution
We will be happy to receive pull requests - dont hesitate!
techdivision/jobs-googleapi 适用场景与选型建议
techdivision/jobs-googleapi 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 19 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 12 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 techdivision/jobs-googleapi 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 techdivision/jobs-googleapi 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-12-06
