[WordPress] 外掛分享: Parse URL

前言介紹

  • 這款 WordPress 外掛「Parse URL」是 2012-05-29 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2012-06-02,距離現在已有 4719 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.0 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

ketanmujumdar |

外掛標籤

url | parse | facebook url parse plugin |

內容簡介

這個 URL Parse (網址解析器) 外掛負責從提供的網址中取得包含 330 個字元的中繼資訊。
選擇性地,它也可使用圖像參數,需要在文章中提供特定上傳的圖片。這個解析器會處理網址轉向。
選擇性地,這個解析器還接受兩個名為 url_name 和 tag_name 的參數。這些參數以鍵值對的形式儲存在資料庫中。
url_name 是主要的 DNS,而 tag_name 則是實際文字所儲存的標籤。

舉例來說,
如果網址是 http://timesofindia.indiatimes.com/india/Italy-regrets-killing-of-Indian-fishermen/articleshow/11990083.cms
而文字實際上位於標籤 "div class=Normal" 中,那麼可以使用以下的簡碼:
[url_parse url=’http://timesofindia.indiatimes.com/india/Italy-regrets-killing-of-Indian-fishermen/articleshow/11990083.cms’
url_name = ‘timesofindia.indiatimes.com’ tag_name = ‘div class=Normal’] ,下次如果使用任何 timesofindia.indiatimes.com 的網址,
就不需要再提供 url_name 和 tag_name,因為它會儲存在資料庫中。

外掛使用方式:
[url_parse url=’%WEB_PAGE_URL%’ tag = ‘$TAG_CONTAINING_INFO%’]
其中,
WEB_PAGE_URL = Web 頁面的網址;目前支援 http/https 協議的網頁;必填。
TAG_CONTAINING_INFO = 包含資訊的標籤;通常在某些瀏覽器中可以幫助找到這個資訊。
例如,在 Mozilla Firefox 中,當您在網頁上選擇某個文字/元素並按右鍵,即可看到選項 “檢視所選內容的源代碼”。
也可以通過查看頁面源代碼來找到;選填。

提供資料庫支援,以存儲特定 URL 的標籤。例如,如果某個 Web 頁面在特定 '標籤' 下包含某些資訊,您指定了這個標籤,
那麼這個邏輯足夠智能化,能夠儲存它,將有助於從同一頁面中取得所需的資料,而無需再次指定 '標籤'。

原文外掛簡介

URL Parse plugin will be responsible for fetching meta information along with 330 characters from the supplied website url.
Optionally, it also takes the image parameter where we need to supply a specific uploaded image in the post. This parser takes care
of url forwarding. Optionally this parser takes 2 parameters named url_name and tag_name. These parameters are stored in the database
as key-value pair. url_name is the primary DNS and tag_name is the tag within which the actual text is stored.
For example,
If the url = http://timesofindia.indiatimes.com/india/Italy-regrets-killing-of-Indian-fishermen/articleshow/11990083.cms
and if the text is actually under the tag “div class=Normal” then the shortcode can be used as follows:
[url_parse url=’http://timesofindia.indiatimes.com/india/Italy-regrets-killing-of-Indian-fishermen/articleshow/11990083.cms’
url_name = ‘timesofindia.indiatimes.com’ tag_name = ‘div class=Normal’] and next time when one uses any URL of timesofindia.indiatimes.com
then you need not supply the url_name and tag_name as it will be stored in the database.
Plugin Usage:
[url_parse url=’%WEB_PAGE_URL%’ tag = ‘$TAG_CONTAINING_INFO%’]
where,
WEB_PAGE_URL = url link of the web page; currently supports http/https protocol supoorting web pages; required
TAG_CONTAINING_INFO = the tag under which the information is contained; Generally certain browsers are helpful in finding this information.
For e.g. in mozilla firefox when you select a certain text/element in a web-page and right-click ,you get an option
‘View Selection Source’. This can be used to examine under which tag the content is placed. Alternatively you can skim
through the page source to find out; optional
There is database support provided for storing the tags for a particular URL. For example, if a web page contains certain information under
a particular ‘tag’ and you specify it, the logic is intelligent enough to store it which will help one get the data required from the same page
without specifying the ‘tag’ again.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Parse URL」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


readme.txt | simple_html_dom.php | url_parse_table.php | url-parse-plugin.php |

延伸相關外掛(你可能也想知道)

  • Supra CSV 》這個外掛的目的是將上傳的 CSV 檔案解析成任何類型的文章,包括自訂文章。該外掛的摄取引擎通過在外掛介面中配置的列映射,將 CSV 記錄解析為文章。, 此外掛...。
  • Simple Parse Push Service 》這是一個簡單的Parse.com推播服務實作 (適用於iOS、Android、Windows 8以及其他任何裝置)。, 您可以透過管理面板或文章更新/創建來發送推播通知。此外,您可...。
  • Parse Everything 》這款外掛可以讓您解析不同來源的資料,並將其發送到電子郵件或 Telegram,, 或根據解析到的資料建立新文章,, 或透過簡碼在您的網站上顯示解析到的資料。, 外...。
  • Push Notification Parse 》這個外掛可以讓你從 WordPress 網站直接將通知發送至 Parse.com 帳戶中已經註冊的所有裝置。, 現在,請前往「安裝」部分以找出如何安裝和使用這個外掛。, 疑...。
  • FavParser 》此外掛可剖析文章中的外部連結,並在其旁邊顯示網站圖示。它使用 http://g.etfv.co/ 服務來取得網址圖示。, 您可以在 http://kupimito.com/ 上看到此外掛的示...。

文章
Filter
Mastodon