- Timestamp:
- 05/15/08 23:55:43 (5 years ago)
- Location:
- lang/php/Scraper/library/Diggin/Scraper/Strategy
- Files:
-
- 2 modified
-
Selector.php (modified) (1 diff)
-
Xpath.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/php/Scraper/library/Diggin/Scraper/Strategy/Selector.php
r10702 r11658 105 105 foreach ($values as $value) { 106 106 //@todo strict 107 //array_push($strings, (string) $value); 108 array_push($strings, strip_tags((string) str_replace('&', '&', $value->asXML()))); 107 $value = strip_tags((string) str_replace('&', '&', $value->asXML())); 108 $value = str_replace(array(chr(10), chr(13)), '', $value); 109 array_push($strings, $value); 109 110 } 110 111 } elseif (strtoupper(($process->type)) === 'PLAIN') { -
lang/php/Scraper/library/Diggin/Scraper/Strategy/Xpath.php
r11342 r11658 102 102 foreach ($values as $value) { 103 103 //@todo strict 104 //array_push($strings, (string) $value); 105 array_push($strings, strip_tags((string) str_replace('&', '&', $value->asXML()))); 104 $value = strip_tags((string) str_replace('&', '&', $value->asXML())); 105 $value = str_replace(array(chr(10), chr(13)), '', $value); 106 array_push($strings, $value); 106 107 } 107 108 } elseif (strtoupper(($process->type)) === 'PLAIN') {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)