Salam, the structure of monajat is going to be like this text files imported for xml and reformatted and placed into monajat-data/XY/ABC.txt
those files are not installed but they are maintained to generate a single sqlite file monajat-data/data.db which a single sqlite database which contains all the data from all languages the cols of this database are lang=XY guessed from directory name when generating the database category = 0 for dua (currently all are dua) source_type= where this dua can be found, 0 aya, 1 hadith, 2 other source_id= aya number or hadith number ..etc. eg. "Sahih Albukhari#112" text=the multiline text of the dua links=a list of links to browse the full text on-line media=a relative path to a media file media_options=0 the media should not be played by default just show a link to it, 1 it's better to play the media of course many of those are optional the structure of the text file is going to be like this the first char of any line should be either space or "%" %cat=doa %source=1 %id=Sahih Albukhari#1053 %text the do'a goes here and this is the second paragraph of it %links http://hadith.al-islam.com/Display/Display.asp?Doc=1&Rec=159 more from al-islam.com http://another-link.com link description %media=B1053.ogg %options=0 the text extracted from the xml file are formatted so that it will be more readable for developers something like piping the text to fmt command line I have done the script that parse the xml files and reformat the extracted text tw=textwrap.TextWrapper() tw.initial_indent=' ' tw.subsequent_indent=' ' tw.break_on_hyphens=False tw.fill(p) any suggestion ? any advice ? did I miss something ? _______________________________________________ Mailing list: https://launchpad.net/~sabily.team Post to : [email protected] Unsubscribe : https://launchpad.net/~sabily.team More help : https://help.launchpad.net/ListHelp

