Faris: Filialsuche wie funktioniert sie?

Hallo,

ich schaue mir gerade die Querys einer Filialsuche an. Das Ergebnis einer Suche ( http://standorte.dhl.de/Standortsuche?standorttyp=filialen_verkaufspunkte&lang=de&do_search=1&original_entered_city=berlin&postleitzahl=1%3F%3F%3F%3F&ort=berlin&wochentag=1&oeffnungszeit=12%3A15 )sieht wie folgend aus:

Die URL http://standorte.dhl.de/LocationDetail?objecttype=branch&objectid=4072976&lang=de&standorttyp=filialen_verkaufspunkte
 antwortet wie folgend:

  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
<script type="text/javascript">  
      //DELIMITER_TIMEINFOTYPES  
               showSubHeadline_BubbleTable=0;  
  
               showHeadline_BubbleTable=0;  
  
               headline_Bubble='Öffnungszeiten';  
  
           tiType[0] = 11;  
  
               tiTimeFrom[0] = '12:00';  
  
               tiTimeTo[0] = '20:00';  
  
               tiDayTo[0] = 1;  
  
           tiType[1] = 1;  
  
               tiTimeFrom[1] = '12:00';  
  
               tiTimeTo[1] = '20:00';  
  
               tiDayTo[1] = 1;  
  
           tiType[2] = 11;  
  
               tiTimeFrom[2] = '12:00';  
  
               tiTimeTo[2] = '20:00';  
  
               tiDayTo[2] = 2;  
  
           tiType[3] = 1;  
  
               tiTimeFrom[3] = '12:00';  
  
               tiTimeTo[3] = '20:00';  
  
               tiDayTo[3] = 2;  
  
           tiType[4] = 11;  
  
               tiTimeFrom[4] = '12:00';  
  
               tiTimeTo[4] = '20:00';  
  
               tiDayTo[4] = 3;  
  
           tiType[5] = 1;  
  
               tiTimeFrom[5] = '12:00';  
  
               tiTimeTo[5] = '20:00';  
  
               tiDayTo[5] = 3;  
  
           tiType[6] = 11;  
  
               tiTimeFrom[6] = '12:00';  
  
               tiTimeTo[6] = '20:00';  
  
               tiDayTo[6] = 4;  
  
           tiType[7] = 1;  
  
               tiTimeFrom[7] = '12:00';  
  
               tiTimeTo[7] = '20:00';  
  
               tiDayTo[7] = 4;  
  
           tiType[8] = 1;  
  
               tiTimeFrom[8] = '12:00';  
  
               tiTimeTo[8] = '20:00';  
  
               tiDayTo[8] = 5;  
  
           tiType[9] = 11;  
  
               tiTimeFrom[9] = '12:00';  
  
               tiTimeTo[9] = '20:00';  
  
               tiDayTo[9] = 5;  
  
           tiType[10] = 1;  
  
               tiTimeFrom[10] = '12:00';  
  
               tiTimeTo[10] = '18:00';  
  
               tiDayTo[10] = 6;  
  
           tiType[11] = 11;  
  
               tiTimeFrom[11] = '12:00';  
  
               tiTimeTo[11] = '18:00';  
  
               tiDayTo[11] = 6;  
            </script>  
               //DELIMITER_TIMEINFOTYPES  
  
  
      <div id="bubble_1">  
<div id="bubble_1l">Verkaufspunkt für Brief- / Paketmarken</div>  
</div><div id="bubble_2" style="height: 67px;">  
<div id="bubble_2l">Kulinarische Buchhandl.u.Kochschule<br>Alte Sch&ouml;nhauser Str.&nbsp;36-37<br>10119&nbsp;Berlin</div>  
<div id="bubble_2r">  
  
<div id="bubble_2rt"></div>  
<div id="bubble_2rb">  
<div id="bubble_2rb_content"></div>  
</div>  
</div>  
</div><div id="bubble_3" style="height: 191px;">  
<div id="bubble_3l">  
<div id="bubble_3lt">  
<div id="bubble_headline1">Post&ouml;ffnungszeiten</div>  
<div id="bubble_table">  
<table class="bubble_timetable" summary="">  
                     TIMEINFOS_MISSING  
                  </table>  
</div>  
  
<div id="bubble_remark">Post&ouml;ffnungszeiten identisch mit Laden&ouml;ffnungszeiten</div>  
</div>  
</div>  
<div id="bubble_3r">  
<div id="bubble_3rt">  
<div class="bubble_tab_div" id="tabs">  
<div id="bubble_tab_1_border_left" class="bubble_tab_border_lh"></div>  
<div id="bubble_tab_1" class="bubble_tab_button_active" onclick="javascript:setBubbleTabActive('1');var wpmsc=s_gi(reportSuiteID);wpmsc.linkTrackVars='prop30'; wpmsc.linkTrackEvents='None';                          wpmsc.prop30='LocationDetail?reiter=Leistungen';wpmsc.tl(this,'o','Reiter: Leistungen');" onmouseover="toggleTabBGImg(this, true);" onmouseout="toggleTabBGImg(this, false);" style="width: 136px;">  
                     &nbsp;Leistungen</div>  
<div id="bubble_tab_1_border_right" class="bubble_tab_border_rh"></div>  
<div id="bubble_tab_3_border_left" class="bubble_tab_border_ll"></div>  
<div id="bubble_tab_3" class="bubble_tab_button" onclick="javascript:setBubbleTabActive('3');var wpmsc=s_gi(reportSuiteID);wpmsc.linkTrackVars='prop30'; wpmsc.linkTrackEvents='None';                          wpmsc.prop30='LocationDetail?reiter=SB-Einrichtungen';wpmsc.tl(this,'o','Reiter: SB-Einrichtungen');" onmouseover="toggleTabBGImg(this, true);" onmouseout="toggleTabBGImg(this, false);" style="width: 133px;">  
  
                        &nbsp;SB-Einrichtung</div>  
<div id="bubble_tab_3_border_right" class="bubble_tab_border_rl"></div>  
<div id="bubble_tab_spacer" class="bubble_tab_spacer" style="width:0px;"></div>  
</div>  
<div id="tab_content" class="bubble_tab_content">  
<div id="tabs-1" style="display: block">  
<div class="bubble_tc_heading">Verkauf von:</div>  
<ul>  
<li class="bubble_tab_li">Briefmarken</li>  
<li class="bubble_tab_li">Marken für Päckchen</li>  
<li class="bubble_tab_li">nationale Paketmarken</li>  
  
</ul>  
<div class="bubble_tc_text">KEINE Portoermittlung!</div>  
<div class="bubble_tc_text"><span style="color:red; font-weight: bold;">KEINE Annahme von Sendungen!</span></div>  
</div>  
<div id="tabs-2" style="display: none">  
<table class="bubble_timetable2" id="bubble_timetable2">  
                           TIMEINFOS_CLOSURE_MISSING  
                      </table>  
<div id="bubble_table2_addition">Als Annahmeschluss gilt der Zeitpunkt, zu dem eine Sendung abgegeben sein muss, damit sie noch am selben Tag weiterbefördert wird</div>  
</div>  
<div id="tabs-3" style="display: none; padding-top:2px; padding-left:5px;">- keine SB-Einrichtungen -</div>  
</div>  
  
</div>  
</div>  
</div><div id="bubble_footer">  
<div id="bubble_4l">  
<div id="bubble_4lb_content">  
<a class="bubble_link" onclick="var wpmsc=s_gi(reportSuiteID);wpmsc.linkTrackVars='prop30'; wpmsc.linkTrackEvents='None';                          wpmsc.prop30='pages/info/de/index.html?id=contact';wpmsc.tl(this,'o','Kundenservice'); openWindow(this.href); return false" href="pages/info/de/index.html?id=phone">Telefonischer Kontakt</a>  
</div>  
</div>  
<div id="bubble_4r">  
<div id="bubble_4rb_content">  
<a id="bubble_route_button" href="#" onclick="printPreviewRoute(PARAMETER_FOR_ROUTEPRINT); return false;" border="0">Route&nbsp;&nbsp;&nbsp;</a><a id="bubble_drucken_button" href="#" onclick="printPreview(PARAMETER_FOR_PRINT); return false;" border="0">Drucken&nbsp;&nbsp;&nbsp;</a>  
</div>  
</div>  
</div>

Die Frage ist, warum sind hier mehr Öffnungszeiten als anzeigt? Und wie bekomme ich die richtigen heraus?

  1. Hello,

    Die Frage ist, warum sind hier mehr Öffnungszeiten als anzeigt? Und wie bekomme ich die richtigen heraus?

    erste Antwort: indem du die Webseite benutzt. Du solltest nicht unerlaubt die Daten dieser Webseite bei dir aufbereiten.

    Zweite Antwort: vermutlich weil der Server einen Detailgrad "Tag" liefert, ein auswertendes Skript dann aber erkennt, dass diese für Mo-Fr identisch sind. Wenn die Schnittstelle öffentlich ist, dann ist das bestimmt auch dokumentiert...

    MfG
    Rouven

    --
    -------------------
    sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
    I will never understand why Germans feel the need to kill trees  --  Arbeitskollege aus UK zum Thema ob eine Dokumentation elektronisch oder auf Papier ausgeliefert wird