Comments (5)
Things to verify: is "translation" the right key for all entity types? My assumption is based on:
- https://github.com/backdrop/backdrop/blob/1.x/core/modules/entity/entity.api.php#L130
- https://github.com/backdrop/backdrop/blob/1.x/core/modules/entity/entity.module#L348
from feeds.
With #123 applied I got the language aware import working with nodes. We need to test taxonomy terms, too.
from feeds.
Testing is a bit complex. My setup might give some hints:
- On another site I created a view to export a feed of (translatable) nodes
- The same nodes I wanted to import in a Backdrop site (but the langcode should be kept)
The settings (roughly):
- Attached to: none
- Periodic import: off
- Import on submission
- HTTP Fetcher
- Download content from a URL.
- Common syndication parser
- Parse RSS and Atom feeds.
- Node processor
- Create and update nodes.
There's no way to set a "dynamic" language with RSS (same as in Drupal IIRC), so I created two importers - one for each language.
from feeds.
Now that I've merged your PR to get tests running they're running on this one. As expected many still don't work but shouldn't stop this one from being merged. (I won't be able to look more closely for a couple weeks so someone else could)
from feeds.
It looks pretty legit. translation
is always assigned in https://github.com/backdrop/backdrop/blob/1.x/core/modules/entity/entity.module#L348.
from feeds.
Related Issues (20)
- Importing users from CSV with mapping "Search roles by: Role label" doesn't work HOT 6
- PHP 8.1 - Deprecated function in FeedsDateTime HOT 3
- PHP 8.1 compatibility - ParserCSVIterator and ParserCSV
- include mapping for entity reference
- Fatal error: Cannot redeclare entityreference_feeds_set_target() HOT 4
- Automated tests HOT 6
- [META] Fix remaining automated tests HOT 2
- Put all config for each source into config and allow to set in config screen
- Warning: count(): Parameter must be an array or an object that implements Countable in FeedsNodeProcessor->clean() HOT 4
- Update with 7.x-2.0-beta6
- Node processor bundle restriction: nodes not in bundle can still be updated regardless
- Importing lists by label
- cannot delete last imported users
- Run the standalone form feed with the current user HOT 7
- PHP 8.1 Warning: Trying to access array offset on value of type null in file_feeds_processor_targets HOT 4
- Feeds should not mark submodules as `required`, as this hides the module from the module UI. HOT 5
- Fatal Error on initial feed creation HOT 8
- Theme for the local action HOT 1
- Bug in taxonomy_feeds_get_source()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feeds.