×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles
    in:

    Hyperwave: Difference between revisions

    Content added Content deleted
    imported>RobiH
     
    (116 intermediate revisions by 6 users not shown)
    Line 3: Line 3:


    * http://www.hyperwave.de
    * http://www.hyperwave.de
    * http://s23.org/wikistats/hyperwave_html.php
    * [[User_talk:mutante#Hyperwave-Statistik]]
    * [[User_talk:mutante#Hyperwave-Statistik]]


    == Tasks ==
    == Tasks ==
    <tasks>
    [1] Repariere Titelerkennung der Methoden 05-10 (took)
    [2] Add autopasting, formats, coalesced, | after its working (mutante)
    </tasks>


    == Statistics accessible ==
    == No stats at this time ==
    # http://els.pa-feldkirch.ac.at/rootcollection
    # 1185830 https://extranet.hyperwave.com/rootcollection;internal&action=attributes.action
    # http://w01.my-files.de/rootcollection
    # 0386670 http://hw.oeaw.ac.at:8000/rootcollection;internal&action=dialog.attributes.action
    # http://w01.net-files.de/rootcollection
    # 0205748 http://demo.hyperwave.com/rootcollection;internal&action=attributes.action
    # http://www.bancaditalia.it/rootcollection
    # 0211311 http://www.aeiou.at/rootcollection;internal&action=attributes.action
    # http://www.jucs.org/rootcollection
    # 0082234 http://www.informatikdidaktik.de/rootcollection;internal&action=dialog.attributes.action
    # https://pmronline.eads.com/rootcollection


    == Code snippets ==
    == Statistics not accessible ==
    # http://www.iicm.edu:8000/rootcollection;internal&action=dialog.attributes.action

    # http://legnet.metas.ch/rootcollection;internal&action=dialog.attributes.action
    === Works with method 05 ===
    <HighlightSyntax>
    <TR><TD ALIGN="RIGHT"><SPAN class=AttrName>Title (English):</SPAN></TD>
    <TD><SPAN class=AttrValue>Hyperwave Root Collection</SPAN></TD></TR>
    </HighlightSyntax>

    === Fails with method 05 ===
    <HighlightSyntax>
    <TR><TD ALIGN="RIGHT"><SPAN class=AttrName>Title (English):</SPAN></TD>
    <TD><SPAN class=AttrValue>Home</SPAN></TD></TR>
    </HighlightSyntax>

    === Works with method 10 ===
    <HighlightSyntax>
    <TR><TD ALIGN="RIGHT"><SPAN class=AttrName>Titel (Deutsch):</SPAN></TD>
    <TD><SPAN class=AttrValue>bid-owl</SPAN></TD></TR>
    </HighlightSyntax>

    === Fails with method 10 ===
    <HighlightSyntax>
    <TR><TD ALIGN="RIGHT"><SPAN class=AttrName>Titel (Deutsch):</SPAN></TD>
    <TD><SPAN class=AttrValue>Elektronische Veröffentlichungen der Universitätsbibliothek Wuppertal</SPAN></TD></TR>
    </HighlightSyntax>

    === hw05.php ===

    <HighlightSyntax>
    IDs 20, 24
    $urlpattern = '@<SPAN class=AttrValue>([0-9]*)</SPAN>@iU';
    $urlpattern = '@<TR><TD ALIGN="RIGHT"><SPAN class=AttrName>Title (English):</SPAN></TD>[.\\W]*<TD><SPAN class=AttrValue>(.+)</SPAN></TD></TR>@';
    </HighlightSyntax>

    === hw06.php ===

    <HighlightSyntax>
    ID 21
    $urlpattern = '@<SPAN class=AttrValue>([0-9]*)</SPAN>@iU';
    $urlpattern = '@<TR><TD ALIGN="RIGHT"><SPAN class=AttrName>Titolo (Inglese):</SPAN></TD>[.\\W]*<TD><SPAN class=AttrValue>(.+)</SPAN></TD></TR>@';
    </HighlightSyntax>

    === hw07.php ===

    <HighlightSyntax>
    ID 37
    $urlpattern = '@<SPAN class=AttrValue>([0-9]*)</SPAN>@iU';
    $urlpattern = '@<TD VALIGN="TOP" ALIGN="RIGHT"><IMG SRC="/wavemaster.internal/v6.2/uistyle/icons/empty.gif" WIDTH="1" HEIGHT="4"><BR><SPAN class=AttrName>Title&nbsp;(English):</SPAN></TD>[.\\W]*<TD><SPAN class=AttrValue>(.+)</SPAN>@';
    </HighlightSyntax>

    === hw08.php ===

    <HighlightSyntax>
    ID 28
    $urlpattern = '@<SPAN class=AttrValue>([0-9]*)</SPAN>@iU';
    $urlpattern = '@<TR><TD ALIGN="RIGHT"><SPAN class=AttrName>Title (German):</SPAN></TD>[.\\W]*<TD><SPAN class=AttrValue>(.+)</SPAN></TD></TR>@';
    </HighlightSyntax>

    === hw09.php ===

    <HighlightSyntax>
    IDs 18, 19, 25
    $urlpattern = '@<SPAN class=AttrValue>([0-9]*)</SPAN>@iU';
    $urlpattern = '@<TD VALIGN="TOP" ALIGN="RIGHT"><IMG SRC="/wavemaster.internal/v6.2/uistyle/icons/empty.gif" WIDTH="1" HEIGHT="4"><BR><SPAN class=AttrName>Titel&nbsp;(English):</SPAN></TD>[.\\W]*<TD><SPAN class=AttrValue>(.+)</SPAN></TD></TR>@';
    </HighlightSyntax>

    === hw10.php ===

    <HighlightSyntax>
    IDs 14, 15
    $urlpattern = '@<SPAN class=AttrValue>([0-9]*)</SPAN>@iU';
    $urlpattern = '@<TR><TD ALIGN="RIGHT"><SPAN class=AttrName>Titel (Deutsch):</SPAN></TD>[.\\W]*<TD><SPAN class=AttrValue>(.+)</SPAN></TD></TR>@';
    </HighlightSyntax>

    === Method 4 ===
    <HighlightSyntax>
    case 4:
    # rootcollection4-----------------------------------
    echo "case 4! \n";
    $html=file_get_contents($link);
    $urlpattern = '@<td class="AttrValue">(0x[0-9a-f]{8}) 0x[0-9a-f]{8}<xy>@iU';
    preg_match_all($urlpattern, $html, $matches);
    $res_Hex_IP=$matches[1][0];

    $urlpattern = '@<td class="AttrValue">([0-9]*)<xy>@iU';
    preg_match_all($urlpattern, $html, $matches);
    $res_Documents=$matches[1][0];

    $urlpattern = '@<td class="AttrName">Titel \(Englisch\):</td>[.\\W]*<td class="AttrValue">(.*)<xy>@iUm';
    $urlpattern = '@<td class="AttrName">Tit(le|el)( |&nbsp;)\\((English|Englisch|Deutsch|German)\\):</td>[\\s]*<td class="AttrValue">(.*)<xy>@iUm';

    preg_match_all($urlpattern, $html, $matches);
    //print_r($matches);
    $res_Titel=$matches[4][0];

    break;
    </HighlightSyntax>


    [[Category:Wiki]]
    [[Category:Wiki]]

    Latest revision as of 10:39, 19 April 2023

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.