
內容簡介
Mathilda是一個能夠幫你控制推文的WordPress外掛,它會持續地從Twitter複製你的推文並將它們保存在WordPress的資料庫中。這些推文可以按時間逆序排列在部落格上(但不一定要這麼做)。事實上,Twitter本身也是一種部落格或微部落格。
功能
複製你的推文
複製你的推文圖片
在部落格上顯示你的推文
顯示基本推文統計資料
匯入你所有的推文歷史資料
匯出你的推文成CSV檔案
語言:英文、德文(僅限前端顯示)
實際範例
點此查看
相關連結
外掛頁面(德文)
GitHub源碼
設定
在Twitter上註冊你的Mathilda實例以獲取API權限,操作網址為apps.twitter.com
在WordPress中啟用外掛
在設定中維護OAUTH Access Token、OAUTH Access Token Secret、Consumer Key、Consumer Secret以及你的Twitter帳號
運行初始載入(工具/推文)
建立一個WordPress頁面(頁面縮略名必須與Mathilda縮略名相符)
如何設置Mathilda?
GIF示範(德文)
如何分割龐大的JSON文件?
JSON Splitter
CSS樣式
所有Mathilda UI元素均可使用獨立的CSS選擇器進行設置。請使用你的調試器尋找正確的類。
API
WordPress Action: mathilda_tweets_updated(推文更新時觸發)
數據和檔案
Mathilda在wp-content/uploads下創建了4個文件夾。
mathilda-twitterapi = Twitter API數據存檔
mathilda-images = 推文圖片資料夾
mathilda-export = 匯出目錄
mathilda-import = 匯入目錄
支援的推文類型
支援以下推文類型。
140字符推文
280字符推文
回覆
引用
支援的推文對象
支援以下推文對象。
圖片
主題標籤
連結
提到
圖庫
Mathilda Cron Jobs @ WordPress
自動載入推文(每15分鐘一次,可自訂)
從外部源獲取嵌入代碼(每15分鐘一次,可自訂)
匯入推文(每分鐘一次,如果正在進行匯入)
外掛標籤
開發者團隊
原文外掛簡介
Mathilda is trying to give you back some control of your tweets. The plugin copies your tweets from Twitter continuously and saves them into the WordPress database. The tweets can be displayed on the blog chronologically (but do not have to). Indeed, Twitter is also blogging, micro-blogging so to speak.
Features
Copy your tweets back
Copy your tweeted images back
Display your tweets on the blog
Shows basic tweet statistics
Import your complete tweet history
Export your tweets as CSV file
Languague: English, German (only FrontEnd)
Live Demo
Here!
Future of this Plugin
As Twitter has decided to discontinue free access to the Twitter API in February 2023, I have stopped using Twitter, which also impacts the future of this plugin. For a longer period of time, the plugin was still able to execute API calls strangly enough. The plugin is using the Twitter API Standard v1.1. In the meantime Twitter became X and also free write access to v1.1 is still possible, but X has removed the required endpoint to fetch data. As consequence the core feature of the plugin is not working anymore, which is very sad. Independent from this, displaying of already received tweet data is still possible with this plugin. This feature will be kept alive until further notice. But further development in general is discontinued.
Configuration
Register your Mathilda-Instance as Twitter-Application for API Access apps.twitter.com
Activate the plugin in WordPress
Maintain OAUTH Access Token, OAUTH Access Token Secret, Consumer Key, Consumer Secret and your Twitter Account in the settings
Run the initial load (Tools/Tweets)
Create a WordPress page (page slug must match mathilda slug)
Further Information
Supported Tweet Types
Following tweet types are supported.
140 Character Tweets
280 Character Tweets
Replys
Quotes
Supported Tweet Objects
Following tweet objects are supported.
Images
Hashtags
Links
Mentions
Galleries
Architecture
Data storage and process logic is separated from the WordPress Framework. The toots are not saved in the table wp_posts. And TootPress is not registering a custom post type for the toots as well.
CSS classes
All mathilda UI elements can be addressed with individual CSS selectors. Please use your debugger to find the right classes.
Data & Files
Mathilda creates 4 folders within wp-content/uploads.
mathilda-twitterapi = Archive of the Twitter API data
mathilda-images = Tweet Image Folder
mathilda-export = Export Directory
mathilda-import = Import Directory
wpCrons
Autoload Tweets (every 15 minutes, customizable)
Get Embedding Code from External Source (every 15 minutes, customizable)
Import Tweets (every Minute, if Import is running)
API
WordPress Action: mathilda_tweets_updated (fired on tweet update)
Related Links
Plugin Page (German)
Source Code @ GitHub
How to setup Mathilda?
Screencast Video (German)
How to split large JSON files?
JSON Splitter
