WK:
Hi! Now running Release 1.0 [Revision: 1.100 ] on an
external site: http://jcwinnie.us/moniwiki/wiki.php
Also, finally posted a FOAF file on my weblog:
http://jcwinnie.us/MT/weblog/
So, I started thinking more about FOAF and returned to
our discussion about FoafOnMoniwiki. I see that you
added a FOAF Macro:
http://chemie.skku.ac.kr/wiki/wiki.php/FoafMacro
I copied the example and changed the address to my foaf
file: http://jcwinnie.us/MT/weblog/foaf.rdf. My version
balked; the error message contained something about
foaf.php missing.
Any suggestions on how I might get a nifty FOAF Macro
on my wiki?
Your friendly American pest,
jcwinnie
Logged In: YES
user_id=76597
I got a error message like following
Warning: fopen("http://jcwinnie.us/MT/weblog/foaf.rdf", "r")
- Success in
/home/groups/m/mo/moniwiki/htdocs/plugin/foaf.php on line 107
[[FOAF(ERR: not a valid URL!
http://jcwinnie.us/MT/weblog/foaf.rdf\)]]
Is it valid url ? my browser also could not found your foaf.rdf.
(maybe your server is down now)
Thankyou for your feedback :)
Regards,
Won kyu Park
Logged In: YES
user_id=645989
Well, it was until the server went down on Aug. 18. There
are efforts to restore functionality, not yet successful. Sorry.
Logged In: YES
user_id=645989
Won kyu,
Actually, I now have decided to switch web hosting. There
will be a delay while the domain jcwinnie.us is re-propagated.
The external wiki is up and running* at
http://jon.itechsolve.com/moniwiki/wiki.php ; it would seem
that there is a problem: No older versions exist. Is this a
problem with the current release, or, perhaps, the new web
host lacks RCS? If the latter, is there a way through a PHP
script to test whether RCS is present?
* Not true with the Movable Type weblog! :(
Best regards,
Jonathan
Logged In: YES
user_id=645989
A thought, could the RCS verification be part of
SystemInfoMacro?
Oh, the error message is "No older revisions exist."
Logged In: YES
user_id=645989
Won kyu,
Just a quick update on address, I had moved to a different
web host and there were problems with the transition. My
domain: jcwinnie.us, now works again. Thus, the address to
my foaf.rdf should work. My foaf info shows on my weblog:
jcwinnie.us/MT/weblog/ and, my wiki is back to the original
address jcwinnie.us/moniwiki/wiki.php
Best regards,
Jonathan
Logged In: YES
user_id=645989
Well, now diff is working. It must have been a problem with
placement of files or permissions. Sorry!
So, back to the original question: the nonexistence of
foaf.php :)
Logged In: YES
user_id=645989
Won kyu,
I am running Release 1.0.2, which allows for the FoafMacro.
It works. Nevertheless, if used with my info
(http://jcwinnie.us/MT/foaf.rdf), which validates, the
result is unsatisfactory. Not my homepage, rather a friend's
appears, and my name is joined with this same friend rather
than being discrete (the mathematical sense of this term).
The picture is me!
Best regards,
Jonathan
P.S. You again may have trouble getting my foaf.rdf in the
next 24-48 hours, as I am returning to the previous web
host. Anybody know of a good, cheap, web hosting service?
Good = overall user satisfaction greater than or equal to
90% and uptime greater than or equal to 95%
Cheap = less than or equal to USD $1.25 per month ($15 per
year)
Service= LAMP, where P = Perl, Php and Python, storage
greater than or equal to 100MB, and bandwidth greater than
or equal to 1 GB
Logged In: YES
user_id=76597
foaf.ph in the moniwiki is a very simple implementation.
I could not found a simple enough php module to include in
the moniwiki.
and I make it based on a simple xml parser used in the rss
parser.
I tested it with some simple rdfs, and I realized that there
is many rdf varients.
then I have to decide what moniwiki supports, simple ? or
full-featured ?
anyway... foaf.php included in the moniwiki is a very simple
one :> and I need your advices
Regards,
Won-kyu Park
Logged In: YES
user_id=645989
Won-kyu,
You asked the wrong person for PHP advice. I am a stupid
user. I think that a "regular expression" is an emoticon ->
;), Perl is something to buy for my spouse, PHP is some sort
of insurance company, and Python is a pistol or a snake!
Nevertheless, I played with foaf.php until I got it to
display my information in a manner similar to the Ian Davis
example. (This was after I ensured that my foaf.rdf validated.)
Unfortunately, while my version works, it is incorrect. It
requires that the foaf.rdf contain a depiction. Many people
omit a depiction. Can you refactor the code so that it works
for various combinations: name only; name and homepage; name
and depiction; name, homepage and depiction?
Also, I would advise that you avoid coding a project list
for now. The FOAF standard is a "work in progress", e.g.,
foaf:agent, foaf:group and foaf:organization. Likewise, for
metadata, e.g. dc:...
Another thing that I noticed: while foaf.php would run on my
local system; the online version failed until I "commented
out" the last two lines of code referring to UTF-8.
Obviously, my web host lacks it.
Best regards,
Jonathan
"Advice will cost you; dumb looks are still free!" : /