craftcms / feed-me
从XML、RSS、CSV或JSON源导入内容到条目、分类、Craft Commerce产品等。
6.3.0
2024-08-14 17:37 UTC
Requires
- php: ^8.2
- cakephp/utility: ^5.0.0
- craftcms/cms: ^5.0.0-beta.2
- jakeasmith/http_build_url: ^1.0
- league/csv: ^9.0
- nesbot/carbon: ^2.10|^3.0.0
- seld/jsonlint: ^1.7
Requires (Dev)
- codeception/codeception: ^5.0.11
- codeception/module-asserts: ^3.0.0
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- 6.x-dev
- 6.3.0
- 6.2.2
- 6.2.1
- 6.2.0
- 6.1.0
- 6.0.1
- 6.0.0
- 5.x-dev
- 5.7.0
- 5.6.2
- 5.6.1
- 5.6.0
- 5.5.0
- 5.4.0
- 5.3.0
- 5.2.0
- 5.1.4
- 5.1.3.1
- 5.1.3
- 5.1.2
- 5.1.1.1
- 5.1.1
- 5.1.0
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 5.0.0-beta.2
- 5.0.0-beta.1
- v4.x-dev
- 4.8.1
- 4.8.0
- 4.7.0
- 4.6.3.1
- 4.6.3
- 4.6.2
- 4.6.1.1
- 4.6.1
- 4.6.0
- 4.5.4
- 4.5.3
- 4.5.2
- 4.5.1
- 4.5.0
- 4.4.3
- 4.4.2
- 4.4.1.1
- 4.4.1
- 4.4.0
- 4.3.6.1
- 4.3.6
- 4.3.5.1
- 4.3.5
- 4.3.4
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1.1
- 4.2.1
- 4.2.0.1
- 4.2.0
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.0
- 3.1.17
- 3.1.16
- 3.1.15
- 3.1.14
- 3.1.13
- 3.1.12
- 3.1.11
- 3.1.10
- 3.1.9
- 3.1.8
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.2.1
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-beta.30
- 3.0.0-beta.29
- 3.0.0-beta.28
- 3.0.0-beta.27
- 3.0.0-beta.26
- 3.0.0-beta.25
- 3.0.0-beta.24
- 3.0.0-beta.23
- 3.0.0-beta.22
- 3.0.0-beta.21
- 3.0.0-beta.20
- 3.0.0-beta.19
- 3.0.0-beta.18
- 3.0.0-beta.17
- 3.0.0-beta.16
- 3.0.0-beta.15
- 3.0.0-beta.14
- 3.0.0-beta.13
- 3.0.0-beta.12
- 3.0.0-beta.11
- 3.0.0-beta.10
- 3.0.0-beta.9
- 3.0.0-beta.8
- 3.0.0-beta.6
- 3.0.0-beta.5
- 3.0.0-beta.4
- 3.0.0-beta.3
- 3.0.0-beta.2
- 3.0.0-beta.1
- dev-dependabot/npm_and_yarn/multi-9423f4c335
- dev-dependabot/npm_and_yarn/multi-cf87d80143
- dev-dependabot/npm_and_yarn/multi-d66d039ac5
- dev-dependabot/npm_and_yarn/vite-5.4.6
- dev-bugfix/1489-matching-asset-by-filename
- dev-bugfix/1488-add-support-for-custom-sources
- dev-bugfix/stock
- dev-bugfix/1499-inner-element-fields
- dev-dependabot/npm_and_yarn/webpack-5.94.0
- dev-bugfix/1477-matrix-field-with-assets-with-dynamic-subpath
- dev-feature/1194-native-alt-field
- dev-pullrequests/domstubbs/match-asset-ids
- dev-bugfix/1340-update-feeds-after-entrification
- dev-bugfix/parse-twig-variant
- dev-bugfix/allow-timestap-on-post-date
- dev-bugfix/no-validation-on-update
- dev-bugfix/v5-category-child-import
- dev-feature/797-empty-string-values-and-defaults
- dev-pullrequests/boudewijn-zicht/patch-2
- dev-pullrequests/ivanBereznev/import-multiple-block-types
- dev-pullrequests/bradlilley/main
- dev-feature/relational-field-default-value-amends
- dev-feature/native-alt-field-support
- dev-bugfix/commerce-producttype-permission-direct-url
- dev-bugfix/cms-1199-logged-out-commerce-import
- dev-release/5.0.2
- dev-snyk-fix-beea0a00840935cc102db6b02a1fa0dc
- dev-snyk-fix-ef5e5276e3f052b9ab56c0ffe77c5fe6
- dev-snyk-upgrade-0f129540c746121c481a837b82282d0d
- dev-snyk-upgrade-b47a77e6d165438262f217951316421b
- dev-snyk-upgrade-74e7ca08c9b4d79acf17dac29a94c83b
- dev-snyk-upgrade-3e276e651134916992c762ff6c8ab434
- dev-snyk-fix-4efff9a71f7ed5e96637bf2f5c0fa2d0
- dev-pullrequests/ThomasDeMarez/run-all-feeds
- dev-pullrequests/monooso/order-map
This package is auto-updated.
Last update: 2024-09-21 23:28:48 UTC
README
Feed Me for Craft CMS
Feed Me 是 Craft CMS 的一个插件,用于简单快捷地导入内容,可以是单次导入或定期导入。支持XML、RSS、ATOM、CSV或JSON源,您可以将内容导入为条目、分类、Craft Commerce产品(及其变体)等。
要求
此插件需要 Craft CMS 5.0.0-beta.2 或更高版本。
安装
您可以从插件商店或使用Composer安装此插件。
从插件商店
转到项目控制面板中的插件商店,搜索“Feed Me”,然后在弹窗中点击“安装”按钮。
使用Composer
打开终端并运行以下命令
# go to the project directory cd /path/to/my-project.test # tell Composer to load the plugin composer require craftcms/feed-me # tell Craft to install the plugin ./craft plugin/install feed-me
定制日志
从版本 5.6
/6.2
开始,日志由 Craft 的日志组件处理并存储在数据库中,而不是文件系统中。要记录到文件(或其他位置),您可以禁用默认日志并添加自己的日志目标
config/feed-me.php
<?php return [ // disable default logging to database 'logging' => false, ];
config/app.php
<?php return [ 'components' => [ 'log' => [ 'monologTargetConfig' => [ // optionally, omit from Craft's default logs 'except' => ['feed-me'], ], // add your own log target to write logs to file 'targets' => [ [ // log to file or STDOUT/STDERR if CRAFT_STREAM_LOG=1 is set 'class' => \craft\log\MonologTarget::class, 'name' => 'feed-me', 'categories' => ['feed-me'], // Don't log request and env vars 'logContext' => false, // Minimum level to log 'level' => \Psr\Log\LogLevel::INFO, ], ], ], ], ];
资源
- Feed Me 插件页面 – Feed Me 的官方插件页面
- Feed Me 文档 – 官方文档
- 将网站迁移到 Craft CMS – CraftQuest 提供的完整视频课程,涵盖 Feed Me