shortlist-digital / agreable-catfish-importer-plugin
Shortlist Media 的 WordPress 插件。
Requires
- dev-develop
- 7.1.0
- 7.0.8
- 7.0.7
- 7.0.6
- 7.0.5
- 7.0.4
- 7.0.3
- 7.0.2
- 7.0.1
- 7.0.0
- 6.0.0
- 5.0.0
- 4.0.12
- 4.0.11
- 4.0.10
- 4.0.9
- 4.0.8
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.0
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.8
- 1.4.7
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0
- 0.1
- dev-master
- dev-add-date-range
- dev-video-header
- dev-catfish-qa
- dev-find-missing-images
- dev-queue-staging-testing
- dev-scan-for-udpated-content
- dev-update-scan-core-work-and-cleanup
- dev-recent-imports-listings-fix
- dev-fix-merges
- dev-consistent-test-state
- dev-queue-cli
- dev-importer-performance-improvements
- dev-croissant-2-updates
This package is not auto-updated.
Last update: 2024-09-14 18:26:04 UTC
README
用于将 Catfish 内容导入到 Croissant
设置
添加变量
CATFISH_IMPORTER_TARGET_URL=http://www.shortlist.com/
命令
应从 croissant 命令运行器中运行命令
导入运行器
运行 php croissant plugin:catfish:import 以开始导入。你可能需要使用 nohup/disown。导入可能需要几个小时,并且你的 ssh 连接可能会关闭。
导入运行器有额外的选项
-p 进程数量 -c 每个进程导入的帖子数量 --update 仅运行上次更新过的帖子 -l 帖子数量限制 --date-limit="d/m/Y" 将忽略所有早于日期限制的帖子 -vvv 修改默认 symfony 命令的详细程度
手动帖子更新
运行 wp eval-file src/cli-runner/catfish-import-posts.php {空格分隔的 URL}。此命令将通过其 URL 更新帖子。使用 --debug 增加详细程度
获取导入帖子统计信息
运行 wp eval-file src/cli-runner/catfish-posts-update-times.php。这将列出当前 '库存' 的 post_url{分隔符}update_time
用户角色
出于安全原因,当从旧系统创建新用户时,它们都被分配了一个唯一的角色 'purgatory',以便这些人可以登录,你需要调整他们的权限
Nohup 命令
nohup php croissant plugin:catfish:import >> /tmp/catfish_cmd_output.log 2>> /tmp/catfish_cmd_error.log &