前言介紹
- 這款 WordPress 外掛「Import hotels from CSV for Booking.com affiliates」是 2016-05-24 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2016-05-25,距離現在已有 3265 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.4 以上版本才可以安裝。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
csv | tsv | import | affiliate | booking.com |
內容簡介
您必須擁有 Booking.com 聯盟帳戶,才能使用此外掛匯入 booking.com 的旅館資訊。
此外掛讓您可以輕鬆地從 TSV 檔案匯入 Booking.com 旅館資訊。在使用前,您需從 Booking.com 聯盟中心的下載區(Downloads > Hotel datasets)下載這些旅館資料集。
在使用此外掛前,您需要:
從 Booking.com 聯盟中心下載您要匯入旅館的城市的旅館 TSV 檔案 > Downloads。
將這些 TSV 檔案放置在外掛資料夾中的 tsv-import 資料夾裡。
建立一個草稿文章或自訂類型範本(將用於建立旅館文章)。
此外掛會建立帖子(與帖子範本的相同類型)。要創建的文章數量可能因要匯入的旅館和語言(如果您已安裝 WPML)而有所不同。
強烈建議進行以下操作:
編輯 TSV 檔案,只保留您想要匯入到 WordPress 網站中的城市和旅館。
備份您的 WordPress 網站資料庫。
功能
與 WordPress 帖子類型(文章/頁面)和自訂帖子類型兼容。
易於創建模板。
TSV/CSV 快取和旅館索引提高性能。
易於使用。插入目的地城市 ID、帖子 ID,然後點擊驗證/匯入。
替換欄位與 Visual Composer 兼容。
匯入系統與 WPML 兼容。
帖子中的遠程旅館圖像 URL 或作為特色圖像(無需下載旅館圖像)。
自定義項目
在帖子範本中使用這些欄位。
{{hotel_id}} => 旅館 ID
{{hotel_name}} => 酒店名稱
{{hotel_address}} => 酒店地址
{{hotel_zip}} => 郵政編碼
{{hotel_city_hotel}} => 酒店城市
{{hotel_cc1}} => 酒店所在國家代碼
{{hotel_ufi}} => 唯一城市標識符(目的地 ID),也稱為 city_id 或 dest_id
{{hotel_class}} => 旅館的星級評級
{{hotel_currencycode}} => 給予此物業價格的貨幣(三個字符,大寫;例如 EUR)
{{hotel_minrate}} => 物業收取的最低價格,按平均計算
{{hotel_maxrate}} => 物業收取的最高價格,按平均計算
{{hotel_preferred}} => 如果值為 1,則此物業是 Booking.com 推薦的物業
{{hotel_public_ranking}} => 物業的排名(越高越好)
{{hotel_nr_rooms}} => 物業的總客房數量
{{hotel_longitude}} => 十進制經度
{{hotel_latitude}} => 十進制緯度
{{hotel_hotel_url}} => Booking.com 上的物業 URL
{{hotel_photo_url}} => 主要物業照片的 URL
{{hotel_desc_(language)}} => 物業的簡短描述變更(語言)=> en、es、fr... {{hotel_desc_en}}
{{hotel_city_unique}} => 用於 URL 的唯一城市名稱
{{hotel_city_preferred}} => Booking.com 使用的城市首選名稱
{{hotel_continent_id}} => 物業所在大陸的唯一 ID
外掛將替換上述欄位的旅館資訊。例如:
{{hotel_name}} 將替換為旅館名稱
{{hotel_hotel_url}} 將替換為 Booking.com 旅館 URL
…
…
原文外掛簡介
You must have a Booking.com Affiliate account in order to import the booking.com hotels using this plugin.
This plugin allows you to import easyly Booking.com hotels from TSV files. Before of that you should have downloaded these hotels datasets from Booking.com Affiliate area (Downloads > Hotel datasets).
Before use this plugin you have to do:
Download hotels TSV files of the cities that you want import hotels from Booking.com Affiliate Partner Centre > Downloads,
Place these tsv files in tsv-import folder located in the plugin folder.
Create a draft post or custom type template. (It will be used to create the hotel posts)
This plugin will create posts (of the same type of the post template). The numbers of post will be created may vary depending the hotels to import and languages (if you have WPML installed ).
It is strongly recommended to:
edit the TSV files and keep only the cities and hotels you want to import to your wordpress site.
create a database backup of your wordpress site.
Features
Compatible with wordpress post types (posts/pages) and custom post types.
Easy template creation.
TSV/CSV cache and hotel indexing for performance
Easy to use. Insert Destination city ID, post ID and click validate/import
Replacements fields compatible with Visual Composer
Import system compatible with WPML
Remote Hotel Image URL inside posts or as featured image (Do not need to download hotel images)
Possible customisation
Use these fields inside your post template.
{{hotel_id}} => Hotel ID
{{hotel_name}} => Property name
{{hotel_address}} => Property address
{{hotel_zip}} => Post code
{{hotel_city_hotel}} => Property city
{{hotel_cc1}} => Property country code
{{hotel_ufi}} => Unique city identifier (destination id), also known as city_id or dest_id
{{hotel_class}} => Star rating of property
{{hotel_currencycode}} => The currency in which prices are given for this property (three characters, uppercase – e.g – EUR)
{{hotel_minrate}} => The lowest rate charged by the property, calculated on average
{{hotel_maxrate}} => The highest rate charged by the property, calculated on average
{{hotel_preferred}} => If value is 1, this property is a Booking.com preferred property
{{hotel_public_ranking}} => The rank of the property (higher is better)
{{hotel_nr_rooms}} => The total number of rooms at the property
{{hotel_longitude}} => Decimal longitude
{{hotel_latitude}} => Decimal latitude
{{hotel_hotel_url}} => The property URL on Booking.com
{{hotel_photo_url}} => URL for main property photo
{{hotel_desc_(language)}} => Short description of property change (language) => en, es, fr … {{hotel_desc_en}}
{{hotel_city_unique}} => Unique city name for use in URL
{{hotel_city_preferred}} => Preferred name of city for Booking.com use
{{hotel_continent_id}} => sThe unique ID for the continent on which the property is located
The plugin will replace the fields above with the hotel information. For example:
{{hotel_name}} will be replaced with the name of the hotel
{{hotel_hotel_url}} will be replaced with booking.com hotel url
…
…
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Import hotels from CSV for Booking.com affiliates」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.8.2 |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。