Uhh. Looks like I owe RDFa project some more attention then I was able to
give lately - couldn't even find time to install your code yet ;(

I'll take a further look at the code and install it on my instances
(hopefully sooner then later), but so far I see few issues at
http://dmccabe.org/tmp/smw/index.php?title=Main_Page:

   - First of all, the object that is described on page
   http://dmccabe.org/tmp/smw/index.php?title=Main_Page should have actual
   URI as this:
   http://dmccabe.org/tmp/smw/index.php?title=Special:URIResolver/Main_Pageand
not the page URI (for some reason you have "localhost" as domain name
in
   URIs which is the separate issue)
   - It might make sense to have one global about attribute on the content
   div, but if it is not specified, then it must be specified on all the tags
   (currently .localhost:Property:Population property is not assigned to any
   object)
   - I'm not sure if it makes sense to duplicate values in "content"
   attribute unless they are different from what's displayed - you might want
   to use "content" when link like this is created: [[Some property::Some
   Value|Something else to be displayed]] - this might be extermely useful for
   values that are suppressed in display, for example: [[Some property::Some
   Value| ]]

You might want to test the stuff you get with this RDFa distiller:
http://www.w3.org/2007/08/pyRdfa/

The best way to understand if your result is successful is to see if

   - 
http://www.w3.org/2007/08/pyRdfa/extract?uri=http%3A%2F%2Fdmccabe.org%2Ftmp%2Fsmw%2Findex.php%3Ftitle%3DMain_Page&format=pretty-xml&warnings=false&parser=lax&space-preserve=true&submit=Go!

   
<http://www.w3.org/2007/08/pyRdfa/extract?uri=http%3A%2F%2Fdmccabe.org%2Ftmp%2Fsmw%2Findex.php%3Ftitle%3DMain_Page&format=pretty-xml&warnings=false&parser=lax&space-preserve=true&submit=Go%21>

is as close to

   - http://dmccabe.org/tmp/smw/index.php?title=Special:ExportRDF/Main_Page

as possible.

In any case, it's greate to see that we have working functionality peering
through the real pages! Great work!

        Sergey


On Sat, Aug 9, 2008 at 4:13 AM, David McCabe <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I'd like to show you my RDFa work and solicit comments. I'll start with one
> known bug: 'action=edit' etc. should be stripped from red links. If you find
> anything else, please let me know.
>
> Here's a demo: http://dmccabe.org/tmp/smw/index.php?title=Main_Page
>
> A patch is attached. You can also keep track of my work by checking it out
> from git:
>
>  git clone git://code.creativecommons.org/semanticmediawiki.git
>  cd semanticmediawiki
>  git branch --track rdfa origin/rdfa
>  git checkout rdfa
>
> And to update, say 'git pull'.
>
> Thanks for looking at this. Best regards,
> --
> David McCabe
>
>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Semediawiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>


-- 
Sergey Chernyshev
http://www.sergeychernyshev.com/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to