custom metafield to generate multiple tag lists.

33 views
Skip to first unread message

Eunchan Kim

unread,
May 14, 2013, 12:03:56 AM5/14/13
to hak...@googlegroups.com
Hi all,

I'm trying to implement my sky observation logs with Hakyll. It was implemented w/ Python + Django before.

What I want to do is.
  1. I write observation log based on sky groups and date. Which means I will make 20130514-m57.rst and 20130514-m31m32.rst if I observed m57, m31, m32 in May 14, 2013.
  2. Each page has custom meta fiels (place, body, telescope, eyepiece, seeing, clarity)

Based on above pages, I want to generate pages and lists.
  - Observation logs for each file.
  - Post lists based on 'place' metafield
  - Post lists based on celestial bodies.
  - Post lists based on telescopes,
  - Post lists based on eyepiece

So, as I know, make lists is only available with 'tag' metafield with buildTags function, isn't it? Which means the only solution to do above things is to make new function that acts like buildTags.

I am almost mute and deaf in Haskell language. So I think that implementing this might takes a few months including getting familiar with Haskell and Hakyll.

Could you guide me which part I have to look in detail in Haskell language and the direction to implement?

  Eunchan Kim

Jasper Van der Jeugt

unread,
May 15, 2013, 6:24:28 AM5/15/13
to hakyll
Hello Eunchan,

As you already said, such a custom setup would be pretty hard without
a solid understanding of Haskell. I generally recommend people to
start by reading Learn You A Haskell [1] and move on to Real World
Haskell [2] from there. Both are freely available online.

[1]: http://learnyouahaskell.com/
[2]:http://book.realworldhaskell.org/

Hope this helps,
Peace,
Jasper
> --
> You received this message because you are subscribed to the Google Groups
> "hakyll" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hakyll+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Eunchan Kim

unread,
May 15, 2013, 8:31:40 AM5/15/13
to hak...@googlegroups.com
Hi Jasper,

Thank you for the documents! Actually I'm reading Real World Haskell but I stucked at Monad chapter :(

I will begin with Learn You A Haskell. Thank you.

  Eunchan Kim

2013년 5월 15일 수요일 오후 7시 24분 28초 UTC+9, jaspervdj 님의 말:
Reply all
Reply to author
Forward
0 new messages