|
|
@ -68,7 +68,7 @@ TQString CookMLExporter::createContent( const RecipeList& recipes )
|
|
|
|
head_tag.setAttribute( "title", ( *recipe_it ).title );
|
|
|
|
head_tag.setAttribute( "title", ( *recipe_it ).title );
|
|
|
|
head_tag.setAttribute( "servingqty", ( *recipe_it ).yield.amount );
|
|
|
|
head_tag.setAttribute( "servingqty", ( *recipe_it ).yield.amount );
|
|
|
|
head_tag.setAttribute( "servingtype", ( *recipe_it ).yield.type );
|
|
|
|
head_tag.setAttribute( "servingtype", ( *recipe_it ).yield.type );
|
|
|
|
head_tag.setAttribute( "rid", i18n( "" ) ); //FIXME:what's this...recipe ID??
|
|
|
|
head_tag.setAttribute( "rid", "" ); //FIXME:what's this...recipe ID??
|
|
|
|
recipe_tag.appendChild( head_tag );
|
|
|
|
recipe_tag.appendChild( head_tag );
|
|
|
|
|
|
|
|
|
|
|
|
for ( ElementList::const_iterator cat_it = ( *recipe_it ).categoryList.begin(); cat_it != ( *recipe_it ).categoryList.end(); ++cat_it ) {
|
|
|
|
for ( ElementList::const_iterator cat_it = ( *recipe_it ).categoryList.begin(); cat_it != ( *recipe_it ).categoryList.end(); ++cat_it ) {
|
|
|
|