The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2013-12-24

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:05 marty joined #mojo
00:23 Kulag joined #mojo
00:23 marty joined #mojo
01:04 laouji joined #mojo
01:09 gryphon joined #mojo
01:21 ka2u joined #mojo
01:59 d4rkie joined #mojo
01:59 d4rkie joined #mojo
02:00 d4rkie joined #mojo
02:05 damaya joined #mojo
02:06 damaya Hi, I am wondering how I would extract meta description from a page. $tx->res->dom('meta[description]')->text; does not work.
02:13 klapperl joined #mojo
02:25 damaya I know this doesn't work, but something like this: $tx->res->dom->html->head->meta->{name eq "description"}->{content}->text;
02:26 damaya Somehow if I could get the text of attribute comment from the meta tag whose name is description.
02:26 damaya hehe
02:38 damaya $tx->res->dom->at('meta[name^=description]')->{content}; did it for me
03:59 bpmedley_ joined #mojo
04:27 rem_lex|pivo joined #mojo
04:53 preflex_ joined #mojo
05:02 ka2u joined #mojo
05:13 laouji joined #mojo
05:19 bpmedley joined #mojo
05:21 laouji_ joined #mojo
05:39 dotandimet joined #mojo
06:21 Lucas1 joined #mojo
06:26 avb joined #mojo
07:20 voegelas joined #mojo
07:33 Vandal joined #mojo
07:44 laouji joined #mojo
08:54 basiliscos joined #mojo
09:04 dotandimet joined #mojo
09:08 dotandimet joined #mojo
09:20 dod joined #mojo
09:21 ka2u joined #mojo
09:24 rem_lex joined #mojo
09:25 themage joined #mojo
09:26 dsteinbrunner joined #mojo
09:40 marty_ joined #mojo
09:44 dod joined #mojo
09:49 ka2u joined #mojo
09:56 mire__ joined #mojo
10:15 hshong joined #mojo
10:19 hshong Hi, I'd like to use `Mojo::Template(Mojo::Renderer?)` to not Mojo app.
10:19 hshong with M::P::DefaultHelpers's `include`. welcome any comment or idea.
10:23 laouji joined #mojo
10:27 crab i don't understand the question.
10:28 moritz hshong: perldoc Mojo::Template
10:28 moritz it has a usage example without any Mojolicious app context
10:32 hshong is there any method like M::P::DefaultHelpers's `include` in Mojo::Template?
10:34 dotandimet joined #mojo
10:37 moritz there's an 'include' in M::P::DefaultHelpers
10:43 KindOne joined #mojo
10:45 hshong oh.. i want to know M::P::DefaultHelpers without Mojolicious context.
10:47 hshong `Template` modules has `include` method. so a template include output of another template block.
10:50 laouji joined #mojo
10:50 hshong sorry, I want to know how to use M::P::DefaultHelpers without Mojolicious context
10:54 denis_boyun joined #mojo
11:05 laouji joined #mojo
11:11 dotandimet joined #mojo
11:33 laouji joined #mojo
11:33 nornagest joined #mojo
11:35 ka2u joined #mojo
11:44 hrupp joined #mojo
11:52 ver joined #mojo
11:52 dotandimet joined #mojo
11:54 good_news_everyone joined #mojo
11:54 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/huzxfg
11:54 good_news_everyone mojo/master 219b4b1 Sebastian Riedel: switched to a different AUTOLOAD idiom (closes #574)
11:54 good_news_everyone left #mojo
11:58 denis_boyun__ joined #mojo
12:34 n0rnagest joined #mojo
12:47 mire__ joined #mojo
13:03 dotandimet joined #mojo
13:09 d4rkie joined #mojo
13:23 basiliscos Hello. How to Mojo::Util::escape_url with utf8 characters?
13:24 d4rkie joined #mojo
13:25 avb left #mojo
13:42 mire__ joined #mojo
14:11 Adura joined #mojo
14:13 moritz basiliscos: seem you have encode_utf8 first
14:15 basiliscos moritz: OK, thanks. I'll try
14:31 gryphon joined #mojo
14:56 sh4 joined #mojo
15:26 Tiger joined #mojo
15:27 marty joined #mojo
15:41 dotan joined #mojo
15:53 dotan_ joined #mojo
16:02 marty joined #mojo
16:04 marty_ joined #mojo
16:05 marty joined #mojo
16:06 dod joined #mojo
16:19 avb joined #mojo
16:57 Lucas11 joined #mojo
17:46 mire__ joined #mojo
18:00 sh4 joined #mojo
18:04 beyondcreed joined #mojo
18:30 dod joined #mojo
19:17 dotandimet joined #mojo
20:05 mire__ joined #mojo
20:06 dotandimet joined #mojo
20:58 avb left #mojo
21:15 meshl joined #mojo
21:22 marty joined #mojo
22:03 marty joined #mojo
22:36 amirite joined #mojo
22:37 dotandimet joined #mojo
23:12 damaya I LOVE Mojolicious!
23:13 damaya That is all, just wanted to share that. Also, Merry Christmas, Happy Holidays, and all that jazz too.
23:13 damaya Thanks for all your hard work.

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary