def default_links_item_factory(community):
return dict(<EOL>self=url_for(<EOL>'<STR_LIT>', community_id=community['<STR_LIT:id>'], _external=True),<EOL>html=current_app.config.get(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'<EOL>).format(<EOL>protocol=request.environ['<STR_LIT>'],<EOL>host=request.environ['<STR_LIT>'],<EOL>community_id=community['<STR_LIT:id>']<EOL>)<EOL>)<EOL>
Factory for record links generation.