diff --git a/README.md b/README.md index 62b9f54..ff14507 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Xiaohongshu Importer for Obsidian -**Version**: 1.1.2 +**Version**: 1.1.3 **Author**: bnchiang96 **Repository**: [https://github.com/bnchiang96/xiaohongshu-importer](https://github.com/bnchiang96/xiaohongshu-importer) **License**: MIT @@ -11,9 +11,11 @@ The Xiaohongshu Importer plugin allows you to seamlessly import notes from Xiaohongshu (小红书), a popular Chinese social media and e-commerce platform, into your Obsidian vault. With this plugin, you can extract note content, images, videos, and tags, and organize them into categorized Markdown files in your vault. Whether you’re saving travel tips, recipes, or lifestyle inspiration, this plugin makes it easy to bring your Xiaohongshu notes into Obsidian for better organization and note-taking. +The plugin supports multiple Xiaohongshu link formats, including newer `explore` URLs, which are automatically normalized to the standard item format during import. + ## Features -- **Import Xiaohongshu Notes**: Import notes by pasting a share link or share text, including title, content, images, videos, and tags. +- **Import Xiaohongshu Notes**: Import notes by pasting a share link or share text (supports both `discovery/item` and `explore` URLs), including title, content, images, videos, and tags. - **Category Management**: Organize notes into user-defined categories (e.g., "Travel", "Food") or a default "Others" category. - **Media Download**: Optionally download images and videos locally to your vault, or embed them using their original URLs. - **Custom Folder Structure**: Save notes in a structured folder hierarchy (e.g., `XHS Notes/Travel/NoteTitle.md`). @@ -39,7 +41,7 @@ The Xiaohongshu Importer plugin is now available in the Obsidian Community Plugi If you prefer to install the plugin manually or need a specific version, you can download the release files and install them directly. -1. Download the latest release ZIP file from the GitHub releases page: [Xiaohongshu-Importer-v1.1.2.zip](https://github.com/bnchiang96/xiaohongshu-importer/releases/download/1.1.2/Xiaohongshu-Importer-v1.1.2.zip). +1. Download the latest release ZIP file from the GitHub releases page: [Xiaohongshu-Importer-v1.1.3.zip](https://github.com/bnchiang96/xiaohongshu-importer/releases/download/1.1.3/Xiaohongshu-Importer-v1.1.3.zip). 2. Extract the ZIP file to obtain `main.js`, `manifest.json`, and `styles.css`. 3. Copy these files to your Obsidian vault’s plugins directory: - On desktop: `/.obsidian/plugins/xiaohongshu-importer/` @@ -57,7 +59,7 @@ If you prefer to install the plugin manually or need a specific version, you can - Click the Xiaohongshu Importer ribbon icon (a book icon) on the left sidebar, or - Use the command palette: Press `Ctrl/Cmd + P`, type "Import Xiaohongshu note", and select the command. 2. **Enter Share Text**: - - A modal will appear. Paste the Xiaohongshu share text or URL (e.g., "64 不叫小黄了发布了一篇小红书笔记... http://xhslink.com/a/..."). + - A modal will appear. Paste the Xiaohongshu share text or URL (e.g., "64 不叫小黄了发布了一篇小红书笔记... http://xhslink.com/a/..." or links in the `explore` format). 3. **Select a Category**: - Choose a category for the note (e.g., "Travel", "Food") or select "Others" (其他). 4. **Choose Media Download Option**: @@ -99,7 +101,7 @@ If you prefer to install the plugin manually or need a specific version, you can ## Troubleshooting - **"No valid Xiaohongshu URL found in the text"**: - - Ensure you’ve pasted a valid Xiaohongshu share link or text containing a URL (e.g., `http://xhslink.com/a/...` or the new format). + - Ensure you’ve pasted a valid Xiaohongshu share link or text containing a URL (including `http://xhslink.com/a/...`, `discovery/item`, or `explore` URLs). - **"Failed to import note"**: - Check your internet connection and ensure the URL is accessible. - Verify that the note is public and not restricted. @@ -165,7 +167,7 @@ This plugin is licensed under the MIT License. See the [LICENSE](LICENSE) file f # 小红书导入器 for Obsidian -**版本**:1.1.2 +**版本**:1.1.3 **作者**:bnchiang96 **代码仓库**:[https://github.com/bnchiang96/xiaohongshu-importer](https://github.com/bnchiang96/xiaohongshu-importer) **许可证**:MIT @@ -202,7 +204,7 @@ This plugin is licensed under the MIT License. See the [LICENSE](LICENSE) file f 如果您更喜欢手动安装插件或需要特定版本,可以直接下载发布文件并安装。 -1. 从 GitHub 发布页面下载最新的发布 ZIP 文件:[Xiaohongshu-Importer-v1.1.2.zip](https://github.com/bnchiang96/xiaohongshu-importer/releases/download/1.1.2/Xiaohongshu-Importer-v1.1.2.zip)。 +1. 从 GitHub 发布页面下载最新的发布 ZIP 文件:[Xiaohongshu-Importer-v1.1.3.zip](https://github.com/bnchiang96/xiaohongshu-importer/releases/download/1.1.3/Xiaohongshu-Importer-v1.1.3.zip)。 2. 解压 ZIP 文件,获取 `main.js`、`manifest.json` 和 `styles.css`。 3. 将这些文件复制到您的 Obsidian 知识库的插件目录: - 桌面端:`/.obsidian/plugins/xiaohongshu-importer/` @@ -262,7 +264,7 @@ This plugin is licensed under the MIT License. See the [LICENSE](LICENSE) file f ## 故障排除 - **“文本中未找到有效的小红书 URL”**: - - 确保您粘贴了一个有效的小红书分享链接或包含 URL 的文本(例如 `http://xhslink.com/a/...` 或新格式)。 + - 确保您粘贴了一个有效的小红书分享链接或包含 URL 的文本(包括 `http://xhslink.com/a/...`、`discovery/item` 或 `explore` URL)。 - **“无法导入笔记”**: - 检查您的网络连接并确保 URL 可访问。 - 确认笔记是公开的且未受限制。 diff --git a/manifest.json b/manifest.json index 8d09c7c..868427c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "xiaohongshu-importer", "name": "Xiaohongshu Importer", - "version": "1.1.2", + "version": "1.1.3", "minAppVersion": "0.15.0", "description": "Import Xiaohongshu (小红书) notes with media and categorization.", "author": "bnchiang96", diff --git a/package.json b/package.json index 884227f..1d462c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaohongshu-importer", - "version": "1.1.2", + "version": "1.1.3", "description": "Import Xiaohongshu (小红书) notes with media and categorization into Obsidian.", "main": "main.js", "scripts": {