mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
twitter newsfeed daemon
This commit is contained in:
parent
a32a31794e
commit
217f34fd42
11 changed files with 154 additions and 16 deletions
|
@ -95,6 +95,7 @@
|
|||
// nosave? static? volatile. only for variables, not methods!
|
||||
// another nice word for the opposite of persistent would be "shed"
|
||||
#define volatile nosave
|
||||
#define persistent
|
||||
|
||||
// every lpc dialect has its own foreach syntax. aint that cute?
|
||||
#define each(ITERATOR, LIST) foreach(ITERATOR : LIST)
|
||||
|
|
|
@ -372,6 +372,8 @@ object compile_object(string file) {
|
|||
// match both http:/ and https:/ objects ;D
|
||||
if (abbrev("http", file)) {
|
||||
rob = clone_object(HTTP_PATH "fetch");
|
||||
// driver has the habit of removing double slash in object name
|
||||
file = replace(file, ":/", "://");
|
||||
if (rob) rob->fetch(file[..<3]);
|
||||
return rob;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue