svnno****@sourc*****
svnno****@sourc*****
Tue Mar 11 04:25:55 JST 2008
Revision: 3470 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3470 Author: pal_gene Date: 2008-03-11 04:25:55 +0900 (Tue, 11 Mar 2008) Log Message: ----------- cosmetic. Modified Paths: -------------- kazehakase/trunk/module/search/kz-hyper-estraier-search.c Modified: kazehakase/trunk/module/search/kz-hyper-estraier-search.c =================================================================== --- kazehakase/trunk/module/search/kz-hyper-estraier-search.c 2008-03-10 19:25:51 UTC (rev 3469) +++ kazehakase/trunk/module/search/kz-hyper-estraier-search.c 2008-03-10 19:25:55 UTC (rev 3470) @@ -510,7 +510,7 @@ /* Type and functions that used in gMmarkupParser */ -/* drop at the tiem +#if 0 /* drop at the tiem */ typedef struct { gint in_title; gchar *title; @@ -547,7 +547,7 @@ ((title_parsing *) user_data)->in_title = 0; } } -drop at the time */ +#endif /** * create page title from html content string * currentlly called from only register_documents_in_path(). @@ -557,7 +557,8 @@ static gchar * get_document_title(const gchar *contents) { - /* didn't work yet. +#if 0 + /* didn't work yet. */ GMarkupParser title_parser_funcs = { title_start_element, title_end_element, title_text, NULL, NULL @@ -577,8 +578,7 @@ g_markup_parse_context_free(title_parser); printf("get title:%s\n", data.title); return data.title; - - */ +#endif /* simple parser */ //FIXME: parse correctly gchar *start;