From 22b17d08fafb0b554276adf7470f2bec7aa30298 Mon Sep 17 00:00:00 2001 From: eric Date: Sat, 9 Mar 2013 11:52:42 -0500 Subject: [PATCH 1/6] this was causing googlebot crawl errors --- core/feeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/feeds.py b/core/feeds.py index 64abeb7b..6df720a1 100644 --- a/core/feeds.py +++ b/core/feeds.py @@ -15,7 +15,7 @@ class SupporterWishlistFeed(Feed): return "Latest wishbooks for %s on unglue.it" % obj.username def link(self, obj): - return "/%s/feed/" % obj.username + return "/supporter/%s/feed/" % obj.username def item_title(self, item): return "%s" % item.title From d3077c988bc819dbe4a28261e097af57ca31e8da Mon Sep 17 00:00:00 2001 From: eric Date: Sat, 9 Mar 2013 13:29:03 -0500 Subject: [PATCH 2/6] links should not point to http from https --- core/signals.py | 6 +++--- frontend/templates/about.html | 2 +- frontend/views.py | 6 +++--- payment/manager.py | 6 +++--- settings/common.py | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/core/signals.py b/core/signals.py index b1ddda8a..b109f500 100644 --- a/core/signals.py +++ b/core/signals.py @@ -257,7 +257,7 @@ def handle_wishlist_added(supporter, work, **kwargs): notification.queue([claim[0].user], "new_wisher", { 'supporter': supporter, 'work': work, - 'base_url': settings.BASE_URL, + 'base_url': settings.BASE_URL_SECURE, }, True) from regluit.core.tasks import emit_notifications @@ -277,13 +277,13 @@ def handle_wishlist_near_deadline(campaign, **kwargs): notification.queue(pledgers, "wishlist_near_deadline", { 'campaign': campaign, - 'domain': settings.BASE_URL, + 'domain': settings.BASE_URL_SECURE, 'pledged': True, }, True) notification.queue(nonpledgers, "wishlist_near_deadline", { 'campaign': campaign, - 'domain': settings.BASE_URL, + 'domain': settings.BASE_URL_SECURE, 'pledged': False, }, True) diff --git a/frontend/templates/about.html b/frontend/templates/about.html index 155e2e23..84bdcd85 100644 --- a/frontend/templates/about.html +++ b/frontend/templates/about.html @@ -2,7 +2,7 @@ {% block title %} Everything You Always Wanted to Know {% endblock %} {% block doccontent %}

About

-

Unglue.it is a service provided by Gluejar, Inc. It's a place for individuals and institutions to join together to liberate specific ebooks and other types of digital content by paying rights holders to relicense their works under Creative Commons licenses.

+

Unglue.it is a service provided by Gluejar, Inc. It's a place for individuals and institutions to join together to liberate specific ebooks and other types of digital content by paying rights holders to relicense their works under Creative Commons licenses.

What does this mean?