summaryrefslogtreecommitdiff
path: root/app/builder
diff options
context:
space:
mode:
Diffstat (limited to 'app/builder')
-rw-r--r--app/builder/views.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index e3c795e..5d209d5 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -6,8 +6,7 @@ from resume.build import pub_builder, resume_builder
from books.build import builder as book_builder
from sightings.build import builder as sightings_builder
from pages.build import BuildPages, BuildHome
-from posts.build import BuildJrnl, BuildFieldNotes, BuildSrc, BuildGuide, BuildEssays
-from lttr.build import lttr_builder
+from posts.build import BuildJrnl, BuildFieldNotes, BuildSrc, BuildGuide, BuildEssays, BuildRange, BuildFriends
def do_build(request):
section = request.GET.get('id', '')
@@ -35,15 +34,18 @@ def do_build(request):
elif section == 'guide':
context = {'message': 'Writing guide section to Disk'}
BuildGuide("posts", "post").build()
+ elif section == 'range':
+ context = {'message': 'Writing Range to Disk'}
+ BuildRange("posts", "post").build()
+ elif section == 'friends':
+ context = {'message': 'Writing Friends to Disk'}
+ BuildFriends("posts", "post").build()
elif section == 'pages':
context = {'message': 'Writing Pages to Disk'}
BuildPages("pages", "page", 'luxagraf.net').build()
elif section == 'fieldnotes':
context = {'message': 'Writing FieldNotes to Disk'}
BuildFieldNotes("posts", "post").build()
- elif section == 'lttr_archive':
- context = {'message': 'Writing newsletter archives to Disk'}
- lttr_builder()
elif section == 'buildbooks':
context = {'message': 'Writing Book Pages to Disk'}
book_builder()
@@ -62,9 +64,6 @@ def do_build(request):
elif section == 'discursivepages':
context = {'message': 'Writing Discursive Meditation Pages to Disk'}
BuildPages("pages", "page", 'discursivemeditation.com').build()
- elif section == 'srcrss':
- context = {'message': 'Writing SrcRSS to Disk'}
- BuildSrc("posts", "post").build_feed("src:feed")
return render(request, 'admin/message.html', context)