Substack Importer (Substack 內容匯入程式)

外掛說明

Substack Importer 能將下載自 Substack 電子報的資料匯出檔案的內容匯入至 WordPress 網站。

這個外掛會匯入以下內容:

  • 文章及圖片。
  • Podcast。
  • 留言 (僅會匯入已公開內容的留言)。
  • 作者資訊。

計劃將來會加入的匯入程式功能:

  • 郵寄清單。
  • 改善匯入包含大量文章及媒體的資料匯出檔案的處理效能。

安裝方式

這個外掛與 WordPress Importer 有相依性,必須先安裝 WordPress Importer 才能使用。

Substack Importer 安裝方式:

  1. substack-importer 資料夾上傳至 /wp-content/plugins/ 目錄。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。

常見問題集

大約 30 秒後,匯入程式停止匯入,並出現空白畫面,該如何處理?

嘗試匯入包含大量文章及圖片的資料匯出檔,會發生處理逾時的狀況。要解決這個問題,請嘗試執行多次匯入程序,便可匯入全部內容。

使用者評論

2024 年 1 月 10 日
It worked. BUT... it should have an option to (a) make imported posts DRAFTS (even if they were not Drafts in Substack); .(b) use the first image as the Featured Image for imported posts; and (c) option to use import date as publish date so that they're easier to find (or, alternatively, to set a Category or Tag for all imported posts). Yes, it times out. Not a fatal flaw, but maybe the ability to set a time-out value (or post import speed) would be useful? I used it on the smaller of my two newsletters. I don't know that I'll use it on the larger one unless the suggestions of (a), (b), and (c) above are implemented soon.
2023 年 8 月 11 日
This plugin does not work with WordPress 6.3:1. The page content is not imported, only a portion of the page header is. 2. The importer reports an error on the first image and makes no effort with other images. The developer has not responded to other support requests in two years.
2021 年 12 月 10 日
This is a decent plugin in that it essentially does what it claims to. Although the documentation was sketchy (almost nonexistent), it was easy enough to do the import. I downloaded a .zip file of my substack posts, then uploaded the same .zip file to my WP site from Tools > Import > Substack. The import was pretty quick -- maybe 5 minutes at the most. I only started my substack 6 months ago so there wasn't a lot of data. Then bam! I had a whole bunch of new, published WP blog posts, with the original substack date. (For the most part, that is -- there were some date/time issues when the original post was near midnight. I'm assuming that's due to different server times.) They came in with my site's styling, which was impressive. Footnotes were more or less there, but not exactly as footnotes; had I wanted to keep them, I would have had to do some cleanup. My substack and blog are heavily dependent on images (I'm a photographer) and, although I could see the correct images in the imported posts, I couldn't find them in the Media Library. I use each post's Featured Image in several different ways and couldn't figure out how to even find the images that I could see in my posts. So I tracked them down. Turns out they are copies of my images and they live on an AWS server. I never gave the plugin permission to make copies of my images or to host them elsewhere. So that's fatal flaw #1: I've completely lost control of my own images. They are on a server for which I have only Read permissions. I've already alluded to fatal flaw #2: The images aren't on my own server and therefore can't be used as Featured Images in my posts. Fatal flaw #3 would be that when AWS goes down (as it did a few days ago), all of those images would be broken on my site. I unpublished all the newly created posts and began replacing the images. So -- aside from the fatal flaws mentioned above, it likely would have taken just as much time to create the posts manually.
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Substack Importer (Substack 內容匯入程式)〉的開發相關工作。

參與者

〈Substack Importer (Substack 內容匯入程式)〉外掛目前已有 3 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Substack Importer (Substack 內容匯入程式)〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1.0

  • Update wxr-generator to latest version. Fixes a bug where imports could error out due to a misformed timezone identifier.

1.0.9

  • Use subtitle as post excerpt if not empty
  • Testing the plugin up to WordPress 6.4.2
  • Fix PHPCS error and cleanup composer.lock

1.0.8

  • Removed the subscription input from post content

1.0.7

  • Convert the paywall div to a paragraph

1.0.6

  • Testing the plugin up to WordPress 6.2

1.0.5

  • Add support for WordPress 6.1

1.0.4

  • Fix Soundcloud embeds

1.0.3

  • Identify authors for draft posts as “Draft Posts”

1.0.2

  • Republishing to fix a CI error.

1.0.1

  • Remove unnecessary load_meta_data line.
  • Fix embeds not displaying properly on website.

1.0.0

  • Add post meta for paid content.
  • Convert Instagram embed to a link.
  • Add the subtitle as a H2 at the beginning of the post.
  • Set the correct comment_status for posts.

0.1.0

  • Refactored the importer.
  • Add support for authors.
  • Add support for comments.
  • Conversion of content to Gutenberg blocks.
  • Convert the export to WXR and use the WordPress Importer plugin to import the WXR.
  • Add progress indicator
  • Add support for attachments.

0.1

Early proof-of-concept version.