Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello
I've found that each time when I want to add new feed, like with this url /feed/add/MY_FEED
I should fill the form. There is field for title, and I think that it can be pretty uncomfortable to type there something valuable each time.
Comment | File | Size | Author |
---|---|---|---|
#2 | feeds-name-for-new-feed-2651326-2-D8.patch | 868 bytes | eugene.ilyin |
#2 | screenshot_243.png | 33.37 KB | eugene.ilyin |
screenshot_242.png | 32.32 KB | eugene.ilyin |
Comments
Comment #2
eugene.ilyin CreditAttribution: eugene.ilyin as a volunteer and at DrupalJedi commentedI propose to fill this field automatically with machine name of the feed and current date + current time.
But in any case, if user wants his own name, it can change it easy.
Comment #4
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedOnly known test failures, so setting status back to "Needs review".
I'm not yet sure about autofilling the title with a default value. Maybe there should be a setting instead for requiring a title? Have to take a closer look.
Comment #5
eugene.ilyin CreditAttribution: eugene.ilyin as a volunteer and at DrupalJedi commentedMaybe we should add additional option to enable this functionality, but actually I don't think so. I'm waiting for your opinion.
Comment #6
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedIn the D7 version of Feeds, the title of a "feed node" is set to non-required because some parsers (like the common syndication parser) can automatically provide a title from the source. Maybe the title shouldn't be required when the parser can set the title? Or maybe Feeds should set a default title when the user leaves it empty?
Comment #7
eugene.ilyin CreditAttribution: eugene.ilyin as a volunteer and at DrupalJedi commentedSeems in D8 "feed nodes" for all kinds of feeds requires title.
This looks better for me, but it can be not obvious that title was empty and after submitting it was filled.
Actually it depends of opinion and my option looks better for me. Because it's more obvious and it looks like a classic way - something predefined, but you can change it easily.
Comment #8
twistor CreditAttribution: twistor as a volunteer commentedThis should be supported for parsers that can set a title, but there's no way to detect a title from a CSV file.
For CSV files, it should be possible to use a module like https://www.drupal.org/project/auto_entitylabel to automatically set the title.
Setting it to the Feed type and + the date will not be the default.
Comment #9
eugene.ilyin CreditAttribution: eugene.ilyin as a volunteer and at DrupalJedi commented@twistor
Good idea, but not ported yet :(
Sorry, It's not clear for me. Do you think that this opportunity would be good for CSV parser but with some configuration, or it's wrong way, and there is no sense to apply efforts to implement it?