1. 07 Mar, 2019 1 commit
  2. 26 Jan, 2019 1 commit
  3. 31 Aug, 2018 1 commit
  4. 03 Aug, 2018 2 commits
  5. 24 Jul, 2018 1 commit
    • Nico Alt's avatar
      Fix mess with RSS/Atom feeds · 3ed19af9
      Nico Alt authored
      So !258 and
      !259 even would
      have made things worse, thank you @eighthave for stopping me.
      
      Before de73acf8 one feed was served at /feed.xml and the other one
      at /feed (note it's a file, not a directory).
      Instead of messing around with Apache to let it serve /feed/index.xml at
      /feed/, I decided to just go with /feed.xml and sleep well.
      
      So this change does the following:
      * Remove any jekyll_redirects from feed.xml
      * Serve Atom feed at /feed.xml
      * Redirect from /feed to /feed.xml
      * Set /feed.xml in all proper places
      3ed19af9
  6. 15 Jul, 2018 1 commit
  7. 09 Apr, 2018 1 commit
  8. 12 Jan, 2018 1 commit
  9. 06 Jan, 2018 1 commit
  10. 03 Jan, 2018 1 commit
  11. 02 Jan, 2018 1 commit
    • Peter Serwylo's avatar
      Added tutorials for swap/repomaker/adding repos. · 2cc7a684
      Peter Serwylo authored
      Follows the designs provided by @crwinfrey in #112.
      
      They are implemented as a collection called "tutorials". Any time a
      new tutorial is added to the _tutorials directory then it will
      automatically get put into the list of available tutorials and also will
      be added to the paginator at the bottom of each tutorial.
      
      Fixes #112.
      
      Fixes repomaker#182.
      2cc7a684
  12. 03 Nov, 2017 1 commit
  13. 16 Oct, 2017 1 commit
  14. 12 Oct, 2017 1 commit
  15. 06 Oct, 2017 1 commit
  16. 02 Oct, 2017 1 commit
  17. 12 Sep, 2017 2 commits
  18. 27 Jun, 2017 1 commit
  19. 26 Jun, 2017 1 commit
  20. 19 Jun, 2017 1 commit
  21. 15 Jun, 2017 1 commit
  22. 13 Jun, 2017 1 commit
  23. 05 May, 2017 1 commit
  24. 28 Apr, 2017 2 commits
  25. 17 Apr, 2017 1 commit
  26. 03 Apr, 2017 1 commit
    • Peter Serwylo's avatar
      Clean up config file. · d8486eb3
      Peter Serwylo authored
       * Remove unneeded comments.
       * Add some space to separate metadata about the site from build
         instructions for Jekyll.
       * Change baseurl from '/fdroid-website' to '' (I think this was
         probably due to a restriction with gitlab pages which is no longer
         relevant).
      d8486eb3
  27. 11 Feb, 2017 1 commit
  28. 27 Jan, 2017 1 commit
  29. 25 Jan, 2017 1 commit
  30. 23 Jan, 2017 2 commits
    • Hans-Christoph Steiner's avatar
    • Hans-Christoph Steiner's avatar
      import all news posts as HTML jekyll posts (closes #19) · eb928047
      Hans-Christoph Steiner authored
      This is done using HTML since the original source is in HTML. This
      does not move the image locations, it leaves the <img> tags as is, so
      it gets them from the wordpress locations.
      
      Since only @CiaranG has access to the Wordpress database, I didn't use any
      of the import methods. They all require direct database access.  Instead, I
      used a little bag of tricks:
      
      * wget --span-hosts --recursive --page-requisites --html-extension \
        --convert-links --include-directories=/posts,/news-and-reviews \
        https://f-droid.org/news-and-reviews/
      * and this python script:
      
      import glob
      import os
      import bs4
      
      for f in glob.glob('posts/*/index.html'):
          print('parsing', f)
          outputname = os.path.basename(os.path.dirname(f)) + '.html'
          body = '---\nlayout: post\n'
          with open(f) as fp:
              soup = bs4.BeautifulSoup(fp)
      
              title = soup.find('title')
              if title:
                  body += 'title: "' + title.text.replace(' – F-Droid', '')
      
              author = soup.find('a', {'class', 'url'})
              if author:
                  body += '"\nauthor: "' + author.text + '"\n---\n\n'
      
              post_entry = soup.find('div', {'class', 'post-entry'})
              if post_entry:
                  body += str(post_entry)
      
              date = soup.find('time', {'class', 'updated'})
              if date:
                  filedate = date['datetime'].split('T')[0]
          with open(os.path.join('output', filedate + '-' + outputname), 'w') as fp:
              fp.write(body)
      eb928047
  31. 03 Jan, 2017 2 commits
  32. 02 Jan, 2017 1 commit
  33. 31 Dec, 2016 1 commit
  34. 27 Dec, 2016 1 commit
  35. 15 Dec, 2016 1 commit