diff --git a/bridges/MemoLinuxBridge.php b/bridges/MemoLinuxBridge.php
index eec0a8a..11e3270 100644
--- a/bridges/MemoLinuxBridge.php
+++ b/bridges/MemoLinuxBridge.php
@@ -1,15 +1,13 @@
find('div.post-content', 0)->innertext;
$text = preg_replace('@@si', '', $text);
$text = preg_replace('@
]*?>.*?
@si', '', $text);
+ $text = preg_replace("/returnError('Could not request MemoLinux.', 404);
@@ -50,7 +49,6 @@ class MemoLinuxBridge extends BridgeAbstract{
}
public function getCacheDuration(){
- // return 3600; // 1 hour
- return 0; // 1 hour
+ return 3600*12; // 12 hours
}
}
diff --git a/bridges/SegfaultMintBridge.php b/bridges/SegfaultMintBridge.php
index 48d9aaf..bb89c45 100644
--- a/bridges/SegfaultMintBridge.php
+++ b/bridges/SegfaultMintBridge.php
@@ -1,11 +1,10 @@
find('item') as $element) {
- if($limit < 10) {
+ if($limit < 5) {
$item = new \Item();
$item->title = StripCDATA($element->find('title', 0)->innertext);
$item->uri = StripCDATA($element->find('guid', 0)->plaintext);
@@ -52,7 +51,6 @@ class SegfaultMintBridge extends BridgeAbstract{
}
public function getCacheDuration(){
- // return 3600; // 1 hour
- return 0; // 1 hour
+ return 3600*24; // 24 hours
}
}