Needs review
Project:
FeedAPI
Version:
6.x-1.x-dev
Component:
Code feedapi (core module)
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2007 at 20:33 UTC
Updated:
20 Aug 2009 at 14:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
alex_b commentedThank you aron.
Comment #2
alex_b commentedI still think we should do this: Only save per-node settings if they're different from per-content-type settings.
Comment #3
alex_b commentedWhen default settings are used, we should only show a status "Default options used (override)" for users with "adminster advanced feedapi options" permissions. When override is clicked, the FeedAPI node settings form is revealed and can be configured. Likewise, if settings are overridden there should be a "Revert to default options" link.
Comment #4
alex_b commentedAdditional requests:
- Introduce global switch that forces FeedAPI to use per-content-type settings.
- Verify that newly added processors fall back cleanly to their defaults on pre-existing feed nodes.
Comment #5
aron novakThis is the first iteration of achieving nice support of the requested feature.
Now it does the basics, by default, the feed uses the content-type settings, but you can istruct feedapi to behave differently and specify the settings.
Things to do:
Nice UI support for this if JS is available (hide fields what have no effect)
Global switch that forces FeedAPI to use per-content-type settings.
Verify that newly added processors fall back cleanly to their defaults on pre-existing feed nodes
Comment #6
aron novakSecond iteration:
UI support to hide those settings what have no effect
Updated tests what fail otherwise after the patch.
Things to do:
Global switch that forces FeedAPI to use per-content-type settings.
Verify that newly added processors fall back cleanly to their defaults on pre-existing feed nodes
Comment #7
aron novakThird iteration:
Added:
Global switch that forces FeedAPI to use per-content-type settings.
Verify that newly added processors fall back cleanly to their defaults on pre-existing feed nodes
Fixed:
The jquery UI was bogus, it messed up per-content-type settings page
Comment #8
alex_b commentedNice work so far.
- 'overwrite' should be 'override'
- Label of check box does "Use per content-type settings" does not work - should be rather "Override default settings"
- There is a bunch of changes in feedapi_get_settings() - what is their purpose? I had the impression that feedapi_get_settings() could stay untouched.
I'm thinking we should get 1.7 stable ASAP and then roll a 1.8 with this feature.
Comment #9
aron novakText and naming issues were fixed.
"bunch of changes in feedapi_get_settings()".
Let me explain. For the basics of the feature (only save per-node settings), these changes are not mandatory.
However you requested, which was a good point, this:
Correct me if I'm wrong, but i cannot see a way to achieve this without altering that function. In a nutshell: in each cases, at the beginning the node_type settings should be fetched to make possible to fall-back.
The patch conflicts with: #499680: Restructure tests . So if one of these patches are committed, the other needs to be updated.
1.7 stable ASAP - agree. We should not add such a big change after two beta releases.
Comment #10
aron novakThis is such a patch what I would like to see in FeedAPI 1.9.
Comment #11
aron novak#375649: Drop per-feed configurations or this
Comment #12
amir simantov commentedThis is a followup to a post I have posted - #531538: Why Feed URL is not a plural field? which has been stated as duplicated.
I am using a web-based rss aggregator for the task.
Comment #13
alex_b commentedfeedapi_hideadditional -> feedapi_hide_additional
needs to be rerolled to reflect recent changes to HEAD.
Comment #14
aron novakRerolled.
feedapi_hideadditional -> feedapi_hide_additional
And I also renamed a similarly ugly CSS class name.
There is a hidden killswitch variable:
So with one variable, it's possible to disable site-wide per-feed settings.