It should be possible to attach a feed to any entity, not only nodes.
This can enable many use cases where non-node content has to be created that should trigger new imports.
This is related but not identical to #1033202: [Meta] Generic entity processor.
Original Summary
This is the first time, when I'm working with feeds in a D7 project, so I don't know, is this right:
In some case we don't need to create a new content type for feed sources. Now, I don't need a full node, to store this feeds. I don't use path, comment, fields, views, etc. I only wan't to store 4-5 feeds, but it should be expandable, without cloning an importer, that uses standalone form to store the feed url.
As I know, in this case the perfect way should be to create own entity, and use this as import source. Isn't it?
If it is, it would be nice, to expand "Attach to content types" on basic settings to use any entity type. (Another usecase should be, that a user may add a blog to import)
Comments
Comment #1
geek-merlinanother use case: import a tree of terms from a web page.
would be easy and elegant if we can attach the source to a term that will import its children then.
when only nodes can be feeds sources, like it is, its a major PITA.
daring to clarify title and raise prio as this is clearly "the D7 way" to do it.
next step might be an implementation plan.
Comment #1.0
geek-merlinclarified
Comment #2
tassaf CreditAttribution: tassaf commentedThanks .. is there any solution to import tree of terms?
Comment #3
steinmb CreditAttribution: steinmb commentedA big +1 from me to. Any ide how we should move this along?
Settings form configForm() uses node_type_get_names() but should be swapped out with the entity eq. function perhaps entity_get_info() or field_info_bundles(). I'm just guessing here and have now clue how hard this can be to change.
Comment #4
geek-merlinthis change would imply changing the database schema, so that any entity can be referenced.
so this should be a new major feeds version.
and if we put our hands on it we might want to make feeds fullblown entities and use entityreference fields.
which would make the whole party much more configurable.
in daily business i work my way around this issue, but if there is serious interest in having this implemented as a paid job, i might love to dig into this and work out a plan.
Comment #4.0
geek-merlincrosslinked
Comment #5
twistor CreditAttribution: twistor commentedThis will be possible in 3.x. It's not in scope for 2.x.