Repository: readthedocs/readthedocs.org

Issue:
Remove rss feed
All code related to this should be removed, isn't useful.

https://github.com/readthedocs/readthedocs.org/blob/1ce31662650d6defa434587ec0325f044052ee72/readthedocs/core/urls/__init__.py#L55-L66


Discussion:
@stsewd What do I exactly need to do? and some links where I can study will be useful. Thanks.
We need to remove this file:
 https://github.com/readthedocs/readthedocs.org/blob/1ce31662650d6defa434587ec0325f044052ee72/readthedocs/projects/feeds.py

and the URL's given above and see if anything else is there related to it and remove them.
should we remove all the code of the above two functions as well ?

Resolving patch:
diff --git a/readthedocs/core/urls/__init__.py b/readthedocs/core/urls/__init__.py
--- a/readthedocs/core/urls/__init__.py
+++ b/readthedocs/core/urls/__init__.py
@@ -6,7 +6,7 @@
 from readthedocs.constants import pattern_opts
 from readthedocs.core import views
 from readthedocs.core.views import serve
-from readthedocs.projects.feeds import LatestProjectsFeed, NewProjectsFeed
+
 
 docs_urls = [
     url(
@@ -51,16 +51,3 @@
         name='wipe_version',
     ),
 ]
-
-deprecated_urls = [
-    url(
-        r'^feeds/new/$',
-        NewProjectsFeed(),
-        name='new_feed',
-    ),
-    url(
-        r'^feeds/latest/$',
-        LatestProjectsFeed(),
-        name='latest_feed',
-    ),
-]
diff --git a/readthedocs/projects/feeds.py b/readthedocs/projects/feeds.py
deleted file mode 100644
--- a/readthedocs/projects/feeds.py
+++ /dev/null
@@ -1,43 +0,0 @@
-# -*- coding: utf-8 -*-
-
-"""Project RSS feeds."""
-
-from django.contrib.syndication.views import Feed
-
-from readthedocs.projects.models import Project
-
-
-class LatestProjectsFeed(Feed):
-
-    """RSS feed for projects that were recently updated."""
-
-    title = 'Recently updated documentation'
-    link = 'http://readthedocs.org'
-    description = 'Recently updated documentation on Read the Docs'
-
-    def items(self):
-        return Project.objects.public().order_by('-modified_date')[:10]
-
-    def item_title(self, item):
-        return item.name
-
-    def item_description(self, item):
-        return item.get_latest_build()
-
-
-class NewProjectsFeed(Feed):
-
-    """RSS feed for newly created projects."""
-
-    title = 'Newest documentation'
-    link = 'http://readthedocs.org'
-    description = 'Recently created documentation on Read the Docs'
-
-    def items(self):
-        return Project.objects.public().order_by('-pk')[:10]
-
-    def item_title(self, item):
-        return item.name
-
-    def item_description(self, item):
-        return item.get_latest_build()
diff --git a/readthedocs/urls.py b/readthedocs/urls.py
--- a/readthedocs/urls.py
+++ b/readthedocs/urls.py
@@ -9,7 +9,7 @@
 from django.contrib import admin
 from django.views.generic.base import RedirectView, TemplateView
 
-from readthedocs.core.urls import core_urls, deprecated_urls, docs_urls
+from readthedocs.core.urls import core_urls, docs_urls
 from readthedocs.core.views import (
     HomepageView,
     SupportView,
@@ -115,7 +115,6 @@
     api_urls,
     core_urls,
     i18n_urls,
-    deprecated_urls,
 ]
 
 if settings.DO_NOT_TRACK_ENABLED:


Test patch: