00:29
pkunc has quit [Quit: Leaving.]
01:26
jugglinmike has quit [Quit: Leaving.]
11:27
relix has joined #nanoc
11:27
<
relix >
Hey guys, trying to build an RSS feed and I'd like all the RSS links to have UTM data attached to the url
11:28
<
relix >
from the docs I gather I should set item[:custom_path_in_feed] for each article, but is there a way to set it programmatically, so I don't have to add it to every article independently?
11:28
<
relix >
ideally I should just be able to do `def Item.custom_path_in_feed; self[:path] + "?utm_source=rss&utm_medium=rss&utm_campaign=rss-feed"; end`
11:33
<
relix >
this doesn't work:
11:33
<
relix >
preprocess do
11:33
<
relix >
# Set up blog
11:33
<
relix >
listed_articles.each do |item|
11:33
<
relix >
item[:custom_path_in_feed] = item.path + "?utm_source=rss&utm_medium=rss&utm_campaign=rss-feed"
11:33
<
relix >
oh sorry forgot I was on IRC
11:48
cDlm has joined #nanoc
11:59
pkunc has joined #nanoc
12:03
pkunc has quit [Client Quit]
14:07
pkunc has joined #nanoc
14:31
jugglinmike has joined #nanoc
16:33
cDlm has quit [Ping timeout: 276 seconds]
18:43
pkunc has quit [Quit: Leaving.]
19:19
<
nanoc-gh >
nanoc/item-rep-writer f172fea Denis Defreyne: Asset notifications
19:20
<
nanoc-gh >
nanoc/item-rep-writer 60b2830 Denis Defreyne: Assert notifications
19:28
<
nanoc-gh >
nanoc/item-rep-writer ac5d746 Denis Defreyne: Add item rep writer
19:39
<
nanoc-gh >
nanoc/rule-context-views 6169c39 Denis Defreyne: Expose views in RuleContext
19:47
<
nanoc-gh >
nanoc/rule-context-views 05ccd00 Denis Defreyne: Expose views in RuleContext
19:47
<
nanoc-gh >
nanoc/rule-context-views 5eb3862 Denis Defreyne: Fix useless tests
19:47
<
nanoc-gh >
nanoc/rule-context-views 77304cb Denis Defreyne: Fix useless test
19:49
<
nanoc-gh >
nanoc/rule-context-views 7637145 Denis Defreyne: Cleanup useless @
19:50
<
nanoc-gh >
nanoc/master 0535678 Denis Defreyne: Update release notes
19:53
<
nanoc-gh >
nanoc/master 68ef6fe Denis Defreyne: Merge pull request #613 from nanoc/item-rep-writer...
20:19
<
travis-ci >
nanoc/nanoc/master b39d1dd Denis Defreyne: The build passed.
20:27
<
travis-ci >
nanoc/nanoc/master 68ef6fe Denis Defreyne: The build passed.
20:27
<
travis-ci >
nanoc/nanoc/master 0535678 Denis Defreyne: The build passed.
21:28
jonbullock has joined #nanoc
22:02
cDlm has joined #nanoc
22:29
jonbullock has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:31
jonbullock has joined #nanoc
22:32
jonbullock has quit [Client Quit]