定制 techdivision/jobs-googleapi 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

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.

  1. Follow the recommended steps to verify ownership of your property.
  2. After your property has been verified, open Search Console.
  3. Click your verified property.
  4. Click Settings.
  5. Go to user settings.
  6. Click manage property owner. (You need to be a Property-Owner!) Google Search Console - User settings
  7. 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 Google Search Console - Add property owner

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:

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 我们能提供哪些服务?
定制开发 / 二次开发

基于 techdivision/jobs-googleapi 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 16
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2019-12-06