Problem / motivation
On Drupal 6 we used to have feeds of new modules, themes, distributions.
Looked like this:
https://test-drupal.redesign.devdrupal.org/taxonomy/term/14/0/feed
https://test-drupal.redesign.devdrupal.org/taxonomy/term/15/0/feed
https://test-drupal.redesign.devdrupal.org/taxonomy/term/96/0/feed
On Drupal 7 the distinction between module, theme, etc. is no longer based on taxonomy, but based on content type. Therefore taxonomy based feeds no longer exist.
Proposed resolution
Create a RSS feed display for https://drupal.org/project/project_theme/index.
There should be 2 separate RSS feeds per project type: sandboxes and full projects.
Project types:
- project-core
- project-distribution
- project-drupalorg
- project-module
- project-theme
- project-theme-engine
- project-translation
Lets attach the feeds to the Views that make https://drupal.org/project/project_theme/index and https://drupal.org/project/project_module/index. This View is overridden by drupalorg, so watch out for exporting too much.
Original report by @czarzhan
Since the upgrade, my RSS reader has not seen any new modules show up. Further, when I went to the new modules page to get an updated link, the newest project shown (aside from a couple sandbox tests related to the upgrade) was dated December of last year. Where have all the new modules gone?
| Comment | File | Size | Author |
|---|---|---|---|
| #42 | project-rss-feeds-2126331-42.patch | 19.55 KB | opdavies |
| #42 | drupalorg-added-drupalorg_projects-2126331-42-do-not-test.patch | 1.08 MB | opdavies |
Comments
Comment #1
shrop commentedIn addition to "New modules (full modules and sandboxes)*", RSS feeds for Themes and Installation profiles are not working either. Found these on https://drupal.org/node/63589.
Comment #2
webchickYeah, for some reason the pages at /taxonomy/term/X seem to be 404ing. I don't really understand this, since they're there in stock D7 core.
Comment #3
eliza411 commentedConfirmed
Comment #4
webchickActually this is probably two different problems:
1) Taxonomy pages are 404ing.
2) The distinction between module, theme, etc. is no longer based on taxonomy, but based on content type. So if we want to restore this functionality, we'd need to create new views. To not break bookmarks, these would be at taxonomy/term/14 (modules) taxonomy/term/15 (themes) and taxonomy/term/96 (distros)
Comment #5
shrop commented@webchick: Is this something I can help with? I am not sure of the process to develop for drupal.org, but I could help with the views if that works.
Comment #6
jonathan webb commentedPossibly related: Drupal project's release feed is 503ing (https://drupal.org/node/3060/release/feed)
Comment #7
eporama commentedThis is also related to #2129427: RSS feeds bringing Drupal.org down which is the issue regarding 503's on the feed.
Comment #8
webchickOops. Missed this. Thanks for asking, shrop! Yes, indeed! :)
There are instructions for how to get a dev site to help squash d.o bugs at https://drupal.org/contribute/drupalorg/code (more specifically, https://drupal.org/node/1018084). Since it'll likely be awhile before the d.o team can get to this, given the other major/critical issues in the queue, someone else stepping up to try and restore this functionality would be awesome.
Comment #9
webchickThis is a legit bug, not a support request.
Comment #10
shrop commentedThanks @webchick!
Comment #11
tvn commentedChanging status back to 'Active' to avoid confusion, as we no longer user 'needs review' as confirmation step.
Comment #12
czarzhan commentedComment #13
anavarreYes, same here and I'm glad I finally found this issue. RSS feeds are broken when you want to subscribe to module updates from the https://drupal.org/node/NID/release page. To reproduce, try clicking on the RSS icon (will bring you to https://drupal.org/node/NID/release/feed) and it'll return the following message always:
Comment #14
anavarreComment #15
Anonymous (not verified) commentedAny news on this?
There is a handbook page mentioning those feeds:
What RSS feeds are available?
Comment #16
mgiffordSo these links are broken.
https://drupal.org/node/3060/release/feed
https://drupal.org/taxonomy/term/14/0/feed
https://drupal.org/taxonomy/term/15/0/feed
https://drupal.org/taxonomy/term/96/0/feed
Do we just need to create a view with those feeds? I'm not sure how to do that in the sandbox so that it can be brought over to live.
Comment #17
mgiffordUpdating title
Comment #18
mgiffordNote this page gives a WSOD:
http://drupal.org/node/199251
from:
all/modules/drupalorg/drupalorg_project/drupalorg_project.module
Comment #19
valthebaldComment #20
tvn commentedComment #21
dokumori commentedre WSoD reported in #18, this seems to be the cause:
Comment #22
tvn commentedRSS feeds of new releases for projects were fixed and feeds for taxonomy pages are working fine. For #18 I opened separate issue #2264721: Port drupalorg_project_list_commit_rss to D7.
Problem here is only with the new projects feeds: modules, themes, distributions. Updating issue summary accordingly.
valthebald, are you still planning to work on this one?
Comment #23
tvn commentedComment #24
tvn commentedComment #25
tvn commentedThere should be separate feeds for sandboxes and full projects. This probably should be a generic solution in Project module.
Comment #26
blainelang commented@tvn, where is it documented now what the new feeds are? I used to like the twitter feed and found it the most convenient way to keep up.
Comment #27
tvn commentedNew feeds? They do not exist yet, this whole issue is about creating them.
Comment #28
blainelang commentedThe issue is about restoring the previously working feeds and I saw your note "RSS feeds of new releases for projects were fixed and feeds for taxonomy pages are working fine.", so I assumed they were now working. Maybe we need the issue summary updated again.
What's left to do then to have working RSS feeds and a working twitter feeds for new projects?
Comment #29
drummActually, lets keep this in drupalorg. These RSS feeds directly correspond to pages which the project_solr module is currently generating. Unfortunately, project_solr is some old code which is showing its age; more functionality, like RSS should not be added.
Instead, use apachesolr_views to make these RSS Views. The Views should be laid out in a way to mirror the pages like https://drupal.org/project/project_theme and https://drupal.org/project/project_module?solrsort=ds_created%20desc&f[4..., so the HTML displays can eventually replace those pages. Actually doing that replacement would be out of scope for this issue; the HTML displays should be disabled, or at a non-conflicting path. The RSS links can be injected into the existing pages.
The Views should be exported to a new feature in drupalorg/features and any custom code in drupalorg.module.
Comment #30
drummActually, I was wrong. apachesolr_views is not actively maintained, and we would run into bugs switching to it. Instead, lets attach the feeds to the Views that make https://drupal.org/project/project_theme/index and https://drupal.org/project/project_module/index. This View is overridden by drupalorg, so watch out for exporting too much.
Comment #31
tvn commentedUpdating summary.
Comment #32
opdaviesComment #33
opdaviesSo far...
Left to do...
Comment #34
opdaviesHere's the first patch, for project module.
Patch for drupalorg module to follow.
Comment #35
opdavies@drumm: I've exported the project content types into Features, as discussed. Can you test on a fresh database installation please?
Comment #37
opdaviesComment #38
drummFor #34 -
project_index, instead of a completely new View?Comment #39
opdaviesThis is set to "Full text", at least on my dev site, which means that everything is displayed including the release table and maintenance information. The old feed had less information which was the reason for adding the project_rss view mode.
Yes, it could. I did put it there originally, but I was having to override values from the Master display to add the second contextual filter etc., so thought that it would be cleaner to have it in its own View. Happy to move it though if you prefer.
Comment #40
opdaviesThis is how it looks with the full text setting - https://opdavies-drupal.redesign.devdrupal.org/project/project_module/fe....
Comment #41
opdaviesAh, I think I see what you mean now. There's a RSS option within the custom display settings fieldset on each content type. That should be fine also and would make the project_rss one redundant so I'll remove that from the code.
Comment #42
opdaviesPatches updated.
Comment #43
opdaviesComment #45
opdavies42: project-rss-feeds-2126331-42.patch queued for re-testing.
Comment #47
drummEverything is committed, with some minor changes. Will be deployed some time tomorrow.
In project module -
$view_mode !== 'rss'check within a level. This doesn't make a difference in the end, but will be better organized for any future additions.In drupalorg -
Comment #49
drummComment #50
drummDeployed and added redirects for the 3 URLs mentioned in the issue summary.