Logs for #nikola for 2015-07-14

08:43:54 <ChrisWarrick> superfly, ralsina: You should actually use the previewimage field.  It will integrate with some other niceties, though you need to add the <img> tag yourself
08:45:51 <ChrisWarrick> erdgeist: The post list directive is a hack and afterthought, and is completely unrelated to the category/tag/archive/index pages
09:09:49 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vmmdx
09:09:49 -GitHub[nikola]:#nikola- nikola/master 1d17171 Chris Warrick: mock==1.1.3...
09:14:30 -travis-ci:#nikola- getnikola/nikola#5759 (master - 1d17171 : Chris Warrick): The build passed.
09:14:31 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/921cf5ffad97...1d17171f5d1a
09:14:31 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/70871147
10:51:54 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vmYRp
10:51:54 -GitHub[nikola]:#nikola- nikola/master 5261df2 Chris Warrick: Return 0/1/2 in plugin installer...
10:56:37 -travis-ci:#nikola- getnikola/nikola#5760 (master - 5261df2 : Chris Warrick): The build passed.
10:56:38 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/1d17171f5d1a...5261df2089bf
10:56:38 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/70883083
11:36:59 <erdgeist> ChrisWarrick: I know that it is, but that doesn't mean it could not be much more
11:37:52 <ChrisWarrick> erdgeist: at this point you could create a custom plugin that uses the generic index renderer
11:57:39 <erdgeist> ChrisWarrick: Understood. About the first part: Do you have an idea if its smarter to add more filters (e.g for date bracket and paths) or try to find a generic solution that can filter all metafields
11:59:44 <ChrisWarrick> erdgeist: What you want to do seems hard on a static website.  You would need to generate lots of pages for all the different options.  Maybe you could try writing some JS frontend instead?
12:03:43 <erdgeist> ChrisWarrick: why is applying more filters to the post-list directive hard? All I want is to filter by date or by path via globbing. That should be easy.
12:04:18 <KwBot> [nikola] Kwpolska opened issue #1890: Sitemaps are broken https://github.com/getnikola/nikola/issues/1890
12:04:55 <ChrisWarrick> erdgeist: oh, you don’t want to generate all the choices.  Just some of them.
12:05:11 <ChrisWarrick> erdgeist: In that case, it could be implemented quite easily
12:05:44 <erdgeist> ChrisWarrick: Well initially I just want to add a site that collects all press releases with a date from 1997, 1998, 1999 and so on
12:06:20 <erdgeist> ChrisWarrick: But then I thought manually adding filters for all possible meta data fields is too specific and I wondered if there is a more generic way to allow filtering
12:06:29 <ChrisWarrick> erdgeist: not really
12:07:09 <ChrisWarrick> erdgeist: aside from date and tags, nikola metadata is just a bunch of random strings.  the only sensible thing you could do with it is equality comparison
12:08:09 <erdgeist> At least the date and the path follow some formal rules
12:10:48 <ChrisWarrick> erdgeist: you could just employ the dateutil parser and compare datetime objects from each post.  for path, you could get glob to work if you based it on input paths
12:13:01 <erdgeist> ChrisWarrick: Can you compare a date with something like a year or month?
12:13:29 <ChrisWarrick> erdgeist: >= january 1st, for example
12:14:29 <KwBot> [nikola] Kwpolska assigned issue #1890 to Kwpolska: Sitemaps are broken https://github.com/getnikola/nikola/issues/1890
12:17:50 <KwBot> [nikola] Kwpolska closed issue #1890: Sitemaps are broken https://github.com/getnikola/nikola/issues/1890
12:18:05 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vmYpd
12:18:05 -GitHub[nikola]:#nikola- nikola/master e891eab Chris Warrick: Fix #1890 -- add xmlns:xhtml to sitemap...
12:22:46 -travis-ci:#nikola- getnikola/nikola#5761 (master - e891eab : Chris Warrick): The build was broken.
12:22:47 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/5261df2089bf...e891eab53341
12:22:47 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/70892543
12:30:30 -travis-ci:#nikola- Invariant build by Chris Warrick: The build passed. See https://travis-ci.org/getnikola/invariant-builds/builds/70893968.
12:40:52 -travis-ci:#nikola- getnikola/nikola#5761 (master - e891eab : Chris Warrick): The build passed.
12:40:53 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/5261df2089bf...e891eab53341
12:40:53 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/70892543
19:12:05 <superfly> ChrisWarrick: thanks, I'll take a look.
21:53:27 <ralsina> ChrisWarrick: looks like we can do a 7.6.1 now, agree? I can do it tomorrow-ish.