×
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
    imported>RobiH
    (Code snippets nicht aktuell)
    Line 21: Line 21:


    == Code snippets ==
    == Code snippets ==

    === 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]]

    Revision as of 20:32, 27 November 2007

    Rationale

    Hyperwave ist eine Serverplattform, die man am besten als proprietären und geschlossenen Vorläufer zu Wiki-Plattformen betrachten kann.

    Tasks

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

    No stats at this time

    1. http://els.pa-feldkirch.ac.at/rootcollection
    2. http://w01.my-files.de/rootcollection
    3. http://w01.net-files.de/rootcollection
    4. http://www.bancaditalia.it/rootcollection
    5. http://www.jucs.org/rootcollection
    6. https://pmronline.eads.com/rootcollection

    Code snippets

    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.