Zotonic
Zotonic
zotonic@conference.zotonic.com
Friday, 18 January 2013< ^ >
arjan has set the subject to: Zotonic - the Erlang Content Management Framework
Room Configuration

GMT+1
[01:24:24] maas.maarten.zeeman leaves the room
[09:14:38] Maas joins the room
[09:21:24] Arjan joins the room
[10:01:23] <Marc Worrell> Adding seo_sitemap_changefreq and seo_sitemap_priority to categories.
[10:01:32] <Marc Worrell> For better sitemap generation.
[10:10:21] <Arjan> how?
[10:10:39] <Arjan> in the seo sitemap module?
[10:38:09] <Marc Worrell> yep - extra settings in the seo pane when editing a category
[10:38:26] <Marc Worrell> then you can prioritize indexing of certain types of content
[11:38:07] <Marc Worrell> Wondering if we should also add all language versions to the sitemap.
[11:38:22] <Marc Worrell> Might be better
[11:42:10] <Maas> good one, indeed
[11:43:17] <Marc Worrell> Changing it once again :p
[11:43:30] <Marc Worrell> {% if id.language %}
{% for lang in id.language %}
<url>
<loc>{{ id.page_url|escapexml with z_language=lang }}</loc>
<lastmod>{{ id.modified|date:"c" }}</lastmod>
<changefreq>{{ category_id.seo_sitemap_changefreq|default:'weekly' }}</changefreq>
<priority>{% if category_id.seo_sitemap_priority %}{{ category_id.seo_sitemap_priority }}{% elseif id.page_path %}0.8{% else %}0.5{% endif %}</priority>
</url>
{% endfor %}
{% else %}
<url>
<loc>{{ page_url|escapexml }}</loc>
<lastmod>{{ id.modified|date:"c" }}</lastmod>
<changefreq>{{ category_id.seo_sitemap_changefreq|default:'weekly' }}</changefreq>
<priority>{% if category_id.seo_sitemap_priority %}{{ category_id.seo_sitemap_priority }}{% elseif id.page_path %}0.8{% else %}0.5{% endif %}</priority>
</url>
{% endif %}
[11:43:38] <Maas> Just the way things go :-)
[11:43:45] <Maas> Software is never done
[11:44:24] <Marc Worrell> Have to check if mod_translation is enabled...
[11:46:15] <Maas> Nice template :-p It surely needs some coloring..
[11:46:35] <Maas> Almost looks like programming
[11:47:26] <Maas> Sometimes I would love to be able to do "content-from-code"
[11:50:08] <Maas> instead of code-in-content
[11:54:10] <Maas> Pondering on that. Maybe a parse transform which collects all expressions in a function in an iolist or something.
[11:54:27] <Maas> so you can write:
[11:54:33] <Maas> my_div(X) ->
[11:55:01] <Maas> <<"<div>">>, X, <<"</div">>.
[11:55:12] <Maas> with some xml escaping tricks
[11:55:32] <Maas> bla
[11:56:16] <Arjan> I would go crazy of all the pointy brackets :p
[11:56:23] <Maas> hehe
[11:58:06] <Maas> just thinking about it for now. I have enough todo
[11:59:27] <Maas> There is a python module (a compiler trick) which does that. Used that a lot in the past.
[11:59:29] <Maas> https://www.mems-exchange.org/software/DurusWorks/DurusWorks-1.1.tar.gz/DurusWorks-1.1/doc/qpy.html
[12:01:22] <Maas> Was especially nice for the more "techy" stuff.
[12:03:46] Kaos joins the room
[12:04:18] <Kaos> Nice stats collecting: https://github.com/boundary/folsom
[12:09:20] <Arjan> we use something similar in zynamo, https://github.com/zotonic/statz/tree/master/src
[12:09:28] <Arjan> might be good to switch to folsom though
[12:09:39] <Arjan> if it does what we need
[12:14:54] <Kaos> more active development, bigger community... I bet it can do what statz does (or easily added, if not)...
[12:18:07] <Arjan> indeed
[12:18:23] <Maas> Nice... Folsom has percentile and spiral counters.
[12:18:58] <Maas> And an adapted webmachine :-)
[12:19:05] <Maas> https://github.com/boundary/folsom_webmachine
[12:19:27] Kaos goes to lunch...
[12:19:34] <Maas> eetsmakelijk
[12:19:45] <Kaos> not adapted, but more a webmachine based app...
[12:20:33] <Maas> I see that now. :-)
[12:20:49] <Maas> a bunch of controllers.
[12:21:55] <Arjan> cool , I see it does percentiles
[12:22:59] <Maas> Erlang has some really nice high quality applications I must say.
[13:11:06] Maas leaves the room
[13:12:01] maas.maarten.zeeman joins the room
[14:11:58] Protagores joins the room
[15:24:36] Arjan leaves the room
[15:29:42] Kaos leaves the room
[15:29:52] Kaos joins the room
[15:32:31] <Marc Worrell> Some last bits for the seo indexing….
[15:32:56] <Marc Worrell> Yes, Folsom is very interesting. Not in the least because it is in real use by Boundary :)
[15:33:18] <Marc Worrell> I want to put that and other real time stats in Zotonic - I want to know what is happening in the system :p
[15:55:47] Protagores leaves the room
[15:56:22] protagores joins the room
[16:28:01] <maas.maarten.zeeman> Is there a way to include the host in the access logs?
[16:28:14] <maas.maarten.zeeman> (for virtual host)
[16:30:37] <maas.maarten.zeeman> Or split them up?
[16:38:28] Arjan joins the room
[16:57:46] protagores leaves the room
[16:57:46] Kaos leaves the room
[17:17:12] protagores joins the room
[17:21:00] Kaos joins the room
[17:36:02] Kaos leaves the room
[17:36:25] Kaos joins the room
[18:28:13] Arjan leaves the room
[19:17:02] protagores is now known as Protagores
[19:42:20] Arjan joins the room
[20:17:24] Arjan leaves the room
[20:29:01] Protagores leaves the room
[21:59:45] maas.maarten.zeeman98167 joins the room
[21:59:46] maas.maarten.zeeman98167 leaves the room
[21:59:46] maas.maarten.zeeman61393 joins the room
[21:59:46] maas.maarten.zeeman61393 leaves the room
[21:59:46] maas.maarten.zeeman18456 joins the room
[22:09:46] Kaos leaves the room
[22:38:42] Arjan joins the room
[22:48:37] Arjan leaves the room
[22:51:16] Arjan joins the room
[23:14:26] maas.maarten.zeeman18456 leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!