Annotation of db/prgsrc/drupal/modules/chgk_db/templates/chgk_db_fb2.xml, revision 1.2

1.1       roma7       1: <?php echo '<?xml version="1.0" encoding="UTF-8"?>'?>
1.2     ! roma7       2: <!DOCTYPE body [
        !             3: <!ENTITY reg "®">
        !             4: <!ENTITY mdash "—">
        !             5: <!ENTITY nbsp " ">
        !             6: <!ENTITY ldquo "“">
        !             7: <!ENTITY rdquo "”">
        !             8: <!ENTITY pound "£">
        !             9: <!ENTITY trade "™">
        !            10: <!ENTITY euro "€">
        !            11: <!ENTITY yen "¥">
        !            12: <!ENTITY copy "©"> ]>
        !            13: 
1.1       roma7      14: <?php setlocale(LC_ALL, 'ru_RU.UTF8');?>
                     15: <FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0"
                     16:   xmlns:l="http://www.w3.org/1999/xlink">
                     17:       <description>
                     18:           <title-info>
                     19:               <genre>nonfiction</genre>
1.2     ! roma7      20:               <author>
        !            21:                   <first-name/>
        !            22:                    <last-name>База вопросов Интернет-клуба "Что? Где? Когда?"</last-name>
        !            23:               </author>
        !            24:               <book-title><?php print $tournament->getFullTitle();?></book-title>
1.1       roma7      25:               <document-info>
1.2     ! roma7      26:                   <author>
        !            27:                       <first-name/>
        !            28:                       <last-name>База вопросов Интернет-клуба "Что? Где? Когда?"</last-name>
        !            29:                    </author>
1.1       roma7      30:                   <program-used>php, Drupal</program-used>
                     31:                   <date value='<?php print strftime("%Y-%m-%d", time());?>'><?php print strftime("%x", time());?></date>
                     32:               </document-info>
1.2     ! roma7      33:              <lang>ru</lang>
1.1       roma7      34:           </title-info>
                     35:       </description>
                     36:       <body>
                     37:           <title><?php print $tournament->getTitle();?></title>
1.2     ! roma7      38:               <?php if ($tournament->hasEditor()) {?>
        !            39:                <p><?php print $tournament->getEditorHtml();?></p>
        !            40:               <?php }?>
        !            41:          
1.1       roma7      42:               <?php if ($tournament->hasInfo()) :?><annotation>
                     43:                   <p>
                     44:                   <?php print $tournament->getInfo()."\n";?>
                     45:                   </p>
                     46:                </annotation>
                     47:               <?php endif;?>
1.2     ! roma7      48:               <?php print $tournament->getFb2MainPart();?>
1.1       roma7      49: 
                     50:       </body>
                     51:       <binary>
                     52: <?php print_r($tournament->getImagesBinaries());?>
                     53:       </binary>
1.2     ! roma7      54: </FictionBook>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>