Content Fetcher

外掛說明

This plugin allows users to fetch content from any website and display it effortlessly on their WordPress site using a simple shortcode. It’s perfect for adding external information, like news headlines, product details, or informative snippets, directly into posts or pages. Here is a demo

Sample Shortcode:
To fetch content from a Wikipedia page and display the infobox about Earth, use the following shortcode:
Sample shortcode [get_content_from url=’https://en.wikipedia.org/wiki/Earth’ with=’.infobox’]

Shortcode Attributes:

url: The URL of the website from which you want to fetch content.
with: A CSS selector that specifies which elements to fetch from the provided URL (e.g., .infobox for Wikipedia infoboxes).
limit (optional): Limits the number of elements fetched and displayed. For example, limit=”3″ will show only the first three matching elements.
How It Works: After activating the plugin, simply use the [get_content_from] shortcode with your desired parameters. The plugin will automatically replace all URLs in images and links with absolute URLs to ensure they load correctly from the source website.

This plugin is plug-and-play, requiring no additional setup—just add the shortcode to your content, and you’re ready to go!

Features:

  • simple shortcode

安裝方式

  1. Download the plugin

  2. upload to plugin directory

  3. activate from dashboard

  4. There is no settings

  5. Just insert this shortcode to your post,page or in widget [get_content_from url=”http://domain.com” with=”id_or_class”]

使用者評論

2022 年 3 月 6 日 1 則留言
Doesn’t work (anymore). I’ve tried different things, but it just doesn’t work. I’ll change my rating to 5 stars as well when it works!
2022 年 1 月 31 日 1 則留言
Not working. If plugin author sees this review, please reply, and I will change my rating. Thank you.
2020 年 10 月 15 日
I use it to parse info from another site to display draw date and current jackpot for a lottery draw, and it works well! I have to invoke the plugin twice with different parameters to get the two pieces of info, but it doesn’t appear to slow my site down appreciably. I couldn’t find any other free plugin that would do this, and I like the fact that it’s very few lines of code, so there’s little to go wrong.
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Content Fetcher〉的開發相關工作。

參與者

將〈Content Fetcher〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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