這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

RideShare Importer

描述

This plugin allows you to import your personal hisotry of rides from ride sharing services into individual posts. Currently, Uber is the only supported provider.

What gets Imported?

Each trip gets saved as a separate post with contents of:

  • Map image
  • Pickup & dropoff addresses
  • Trip duration
  • Trip mileage
  • Driver name
  • Fare and currency

More info is stored in post_meta:

  • Trip id (used to identify previously imported trips)
  • Full JSON data about the trip, as known from the imported file
  • Encoded map coordinates so you can render your own map in your theme or plugin

If plugin People & Places is active, it will be used to tag posts with driver profiles using its People taxonomy.

Imported File Format

Since there is no public API which could be used to retrieve the full history, this importer uses a file format generated by a browser extension RideShare Trip Stats (v2.2 or higher) which you must run on the website of the provider.

The RideShare Trip Stats extension is not associated with this plugin. It’s open source and you can install it from its Github repository or its Chrome Webstore listing.

This importer has been designed to work well together with other Keyring Social Importers by using similar ways to tag post with post_meta. The reason this importer is not included directly there is that it requires a JSON file to be manually exported and uploaded into the importer. All other importers in Keyring use an API connection but sadly, for ride sharing, API access is very limited.

螢幕截圖

  • Importer interface.
  • Example post generated by this plugin.

安裝

  1. Upload rideshare-importer to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to Tools > Import, select RideShare and follow the instructions

評價

There are no reviews for this plugin.

貢獻者及開發者

“RideShare Importer” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 RideShare Importer 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • Initial release.