James Hong Kong | 8 Feb 10:12
Picon

SMW roadmap; HTML content marked up with RDFa tags

Hi,

For future enhancements it should be considered if HTML content should
be marked up with RDFa tags (<div rel="v:address">, <span
property="v:street-address">123 Main St</span> etc.) so that SMW
generated content also supports a machine readable solution for search
engines[1], [2].

[1] http://support.google.com/webmasters/bin/answer.py?hl=en&answer=146861

[2] http://blog.schema.org/2011/11/using-rdfa-11-lite-with-schemaorg.html

Cheers

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Joel Natividad | 8 Feb 00:45
Picon
Gravatar

How does the LUA scripting project affect SMW?

Folks,
http://www.mediawiki.org/wiki/Lua_scripting, mediawiki will embark on this major effort.

How will this affect SMW and the satellite extensions that revolve around it? 

Best,
Joel
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Jeroen De Dauw | 7 Feb 01:08
Picon
Gravatar

SMW roadmap

Hey all,

I just updated the SMW roadmap with my own TODOs and made some additions such as adding a contact person per task.

http://semantic-mediawiki.org/wiki/Roadmap

This is in part as preparation for the upcoming Google Summer of Code.

If you have plans yourself for making changes to SMW core or have feature suggestions for either SMW or extensions, please list them, together with all the info useful for people that might want to implement them or help out in some way.

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Jude Jonassaint | 4 Feb 16:04
Picon
Gravatar

replace text from a table

In a SMW where people are identified by name we would like to replace
the names with an identifier (could be a number or a string).
Is there a way to take a list (spreadsheet) of the names and
associated new identifiers to globally replace the names in the wiki
with the corresponding identifiers in the wiki?

We would hate to do this one name at a time because that would be
really time consuming.

Jude

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Favicon
Gravatar

Cannot query subobjects using 4store as a datastore

Hi,

I have also noticed the same issue that Giovanni raised a few weeks
ago: I get completely blank replies when querying for subobjects using
4store 1.1.4, SMW 1.7.0, and MW 1.18.1. This also affects Internal
Objects using the Semantic Internal Objects extension that came
packaged in the 2012-01-09 Semantic Bundle.

If I revert to default datastore, subobject and internal object
queries work as expected.

Any ideas? Unfortunately, I cannot reproduce on the Referata
scratchpad because it doesn't seem to be using 4store.

Thanks,
Alex
--
Alex M. Hendler
http://ontolawgy.com

On Wed, Jan 4, 2012 at 9:42 PM, solab <info@...> wrote:
> Hi all,
>
> FYI:
> I use the following subobject query:  {{#ask: [[Sandbox#street]]|
> ?street name  |?postcode|?city}}
>
> On my installation the query  gives some results  only if the default
> store is not a rdf store.
>
> Tested with MW 1.18 / SMW 1.17  and 4store (the only rdf store i managed
> to run with SMW).
>
> Is this a known issue  or it has something to do with my installation?
>
>
> Cheers
> Giovanni
>
>
>
> On 2011-12-08 18:34, solab wrote:
>> Hi all
>>
>> I was trying the new SMW 1.17beta subobject feature on the Sandbox page
>>
>> {{#subobject:street
>> | street name= voltastrasse
>> | postcode=8000
>> | city=zurich
>> | country=ch
>> }}
>>
>> Then  i started to do some queries:
>>
>> Query 1 {{#ask: [[has subobject::+]]}} ok return Sandbox
>>
>> Query 2 {{#ask: [[Sandbox#street]]| ?street name  |?postcode|?city}}
>> >ok return the values of the properties
>>
>> Query 3 {{#ask: [[street name::+]]  }} ok return Sandbox#street
>>
>> But how do i get the pages/object with subobject "street" ?
>>
>> I tried with {{#ask:[[street::+]]|?}}  expecting something like
>> Sandbox#_anInternalId but the return is empty
>>
>> Any Idea or doc?
>>
>> Cheers
>> Giovanni
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@...
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Favicon
Gravatar

Query for incoming properties with 4store as a datastore causes SMW/MW to crash

Hello,

On SMW 1.7.0 (using Semantic Bundle from 2012-01-09), MW 1.18.1, and
4store 1.1.4, if I execute the following query (for example):

{{#ask: [[-Has address::+]]
}}

I get an error message like this:

Unexpected non-MediaWiki exception encountered, of type "Exception"
exception 'Exception' with message
'SMWExporter::getResourceElementForProperty() can only be used for
user-defined properties.' in
/var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/export/SMW_Exporter.php:229
Stack trace:
#0 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(704):
SMWExporter::getResourceElementForProperty(Object(SMWDIProperty))
#1 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(489):
SMWSparqlStoreQueryEngine->buildPropertyCondition(Object(SMWSomeProperty),
'result', NULL)
#2 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(471):
SMWSparqlStoreQueryEngine->buildSparqlCondition(Object(SMWSomeProperty),
'result', NULL)
#3 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(316):
SMWSparqlStoreQueryEngine->getSparqlCondition(Object(SMWSomeProperty))
#4 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStore.php(288):
SMWSparqlStoreQueryEngine->getInstanceQueryResult(Object(SMWQuery))
#5 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/SMW_QueryProcessor.php(395):
SMWSparqlStore->getQueryResult(Object(SMWQuery))
#6 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/SMW_QueryProcessor.php(361):
SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, Array,
2, 1, 'list')
#7 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/SMW_QueryProcessor.php(339):
SMWQueryProcessor::getResultFromQueryString('[[-Has address:...',
Array, Array, 2, 1)
#8 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/parserhooks/SMW_Ask.php(34):
SMWQueryProcessor::getResultFromFunctionParams(Array, 2)
#9 [internal function]: SMWAsk::render(Object(Parser), '[[-Has address:...')
#10 /var/web/common/mediawiki-1.18.1/includes/parser/Parser.php(3067):
call_user_func_array(Array, Array)
#11 /var/web/common/mediawiki-1.18.1/includes/parser/Preprocessor_DOM.php(1044):
Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#12 /var/web/common/mediawiki-1.18.1/includes/parser/Parser.php(2861):
PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#13 /var/web/common/mediawiki-1.18.1/includes/parser/Parser.php(1033):
Parser->replaceVariables('{{Project|Prior...')
#14 /var/web/common/mediawiki-1.18.1/includes/parser/Parser.php(340):
Parser->internalParse('{{Project|Prior...')
#15 [internal function]: Parser->parse('{{Project|Prior...',
Object(Title), Object(ParserOptions))
#16 /var/web/common/mediawiki-1.18.1/includes/StubObject.php(58):
call_user_func_array(Array, Array)
#17 /var/web/common/mediawiki-1.18.1/includes/StubObject.php(76):
StubObject->_call('parse', Array)
#18 [internal function]: StubObject->__call('parse', Array)
#19 /var/web/common/mediawiki-1.18.1/includes/EditPage.php(2126):
StubObject->parse('{{Project|Prior...', Object(Title),
Object(ParserOptions))
#20 /var/web/common/mediawiki-1.18.1/includes/EditPage.php(1387):
EditPage->getPreviewText()
#21 /var/web/common/mediawiki-1.18.1/includes/EditPage.php(500):
EditPage->showEditForm()
#22 /var/web/common/mediawiki-1.18.1/includes/EditPage.php(353):
EditPage->edit()
#23 /var/web/common/mediawiki-1.18.1/includes/Wiki.php(515): EditPage->submit()
#24 /var/web/common/mediawiki-1.18.1/includes/Wiki.php(255):
MediaWiki->performAction(Object(Article))
#25 /var/web/common/mediawiki-1.18.1/includes/Wiki.php(640):
MediaWiki->performRequest()
#26 /var/web/common/mediawiki-1.18.1/includes/Wiki.php(547): MediaWiki->main()
#27 /var/web/common/mediawiki-1.18.1/index.php(57): MediaWiki->run()
#28 {main}

#0 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(704):
SMWExporter::getResourceElementForProperty(Object(SMWDIProperty))
#1 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(489):
SMWSparqlStoreQueryEngine->buildPropertyCondition(Object(SMWSomeProperty),
'result', NULL)
#2 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(471):
SMWSparqlStoreQueryEngine->buildSparqlCondition(Object(SMWSomeProperty),
'result', NULL)
#3 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(316):
SMWSparqlStoreQueryEngine->getSparqlCondition(Object(SMWSomeProperty))
#4 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStore.php(288):
SMWSparqlStoreQueryEngine->getInstanceQueryResult(Object(SMWQuery))
#5 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/SMW_QueryProcessor.php(395):
SMWSparqlStore->getQueryResult(Object(SMWQuery))
#6 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/SMW_QueryProcessor.php(361):
SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, Array,
2, 1, 'list')
#7 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/SMW_QueryProcessor.php(339):
SMWQueryProcessor::getResultFromQueryString('[[-Has address:...',
Array, Array, 2, 1)
#8 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/parserhooks/SMW_Ask.php(34):
SMWQueryProcessor::getResultFromFunctionParams(Array, 2)
#9 [internal function]: SMWAsk::render(Object(Parser), '[[-Has address:...')
#10 /var/web/common/mediawiki-1.18.1/includes/parser/Parser.php(3067):
call_user_func_array(Array, Array)
#11 /var/web/common/mediawiki-1.18.1/includes/parser/Preprocessor_DOM.php(1044):
Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#12 /var/web/common/mediawiki-1.18.1/includes/parser/Parser.php(2861):
PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#13 /var/web/common/mediawiki-1.18.1/includes/parser/Parser.php(1033):
Parser->replaceVariables('{{Project|Prior...')
#14 /var/web/common/mediawiki-1.18.1/includes/parser/Parser.php(340):
Parser->internalParse('{{Project|Prior...')
#15 [internal function]: Parser->parse('{{Project|Prior...',
Object(Title), Object(ParserOptions))
#16 /var/web/common/mediawiki-1.18.1/includes/StubObject.php(58):
call_user_func_array(Array, Array)
#17 /var/web/common/mediawiki-1.18.1/includes/StubObject.php(76):
StubObject->_call('parse', Array)
#18 [internal function]: StubObject->__call('parse', Array)
#19 /var/web/common/mediawiki-1.18.1/includes/EditPage.php(2126):
StubObject->parse('{{Project|Prior...', Object(Title),
Object(ParserOptions))
#20 /var/web/common/mediawiki-1.18.1/includes/EditPage.php(1387):
EditPage->getPreviewText()
#21 /var/web/common/mediawiki-1.18.1/includes/EditPage.php(500):
EditPage->showEditForm()
#22 /var/web/common/mediawiki-1.18.1/includes/EditPage.php(353):
EditPage->edit()
#23 /var/web/common/mediawiki-1.18.1/includes/Wiki.php(515): EditPage->submit()
#24 /var/web/common/mediawiki-1.18.1/includes/Wiki.php(255):
MediaWiki->performAction(Object(Article))
#25 /var/web/common/mediawiki-1.18.1/includes/Wiki.php(640):
MediaWiki->performRequest()
#26 /var/web/common/mediawiki-1.18.1/includes/Wiki.php(547): MediaWiki->main()
#27 /var/web/common/mediawiki-1.18.1/index.php(57): MediaWiki->run()
#28 {main}

I have enabled the 4store datastore like this in my LocalSettings.php:

    $smwgDefaultStore = 'SMWSparqlStore';
    $smwgSparqlDatabase = 'SMWSparqlDatabase4Store';
    // The following should be set to the URLs to reach the store:
    $smwgSparqlQueryEndpoint = 'http://127.0.0.1:8081/sparql/';
    $smwgSparqlUpdateEndpoint = 'http://127.0.0.1:8081/update/';
    $smwgSparqlDataEndpoint = 'http://localhost:8081/data/';

Disabling 4store returns the expected query results.

This setup works otherwise (except for not being able to query
internal objects/subobjects, as noted in a previous message).

Please let me know if you need any other details to track down this
issue or if I have done something wrong with my configuration.

Thanks,
Alex
--
Alex M. Hendler
http://ontolawgy.com

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
James Hong Kong | 31 Jan 21:40
Picon

[SMW] Semantic Tag Box (STB)

Hi,

Sometimes the Factbox can be overwhelming this is why some people
might be interested in the Semantic Tag Box. It provides a similar
functionality as known from the category box but instead it uses a
dedicated user property that specifies which values are to be
displayed.

STB's customizing is pretty much straight forward, one selects a
property and maintains the required LocalSettings.php settings. For
example maintaining $stbProperty = "Tag" will declare the property
"Tag" as generally available to the STP interface. On every page that
embrace this property, values are displayed below the category box.

STB was part of an internal project and kept on purpose simple
therefore the source code is provided as-is and was only tested with
MW 1.18, SMW 1.7.

[1] https://github.com/mwjames/smw-stb

Cheers

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Sal Quintanilla | 27 Jan 18:37
Picon

Big problem with SMW/MW versus Foswiki

Hi Folks,

 

I’ve created a pretty amazing SMW intranet installation for our engineering department.  Without spending too much time describing it, at the high level it

 

-          Promotes reusability though automatic cross-referencing and advertising of content

-          Uses forms and templates to support symmetric looking page types (like project pages, technical articles, status reports, user profile pages) while still including free text for customization of information

-          Includes parametric search based on several families of tags that are attached to almost everything

 

It’s been evolving and running for over a year, has a few thousand meaningful articles, and has been well-received by our engineering community.

 

We also have a foswiki installation.  It started as twiki more than 7 years ago and was migrated to foswiki about a year ago.  The foswiki install is on an IT-managed server and is the official corporate wiki. 

 

In an effort to streamline operations, the decision has been made to scrap our SMW server.  For the most part, the decision makers used the point that SMW is a wiki, foswiki is a wiki, foswiki is already adopted, we’ll use foswiki.  The infrastructure I added was essentially deemed insignificant in the arguments (non-engineers made this assessment, I couldn’t convince them otherwise after a year of trying, nor could other engineers).  However, they did say that my designs could be handed to our foswiki team and adapted to it. 

 

I’m writing to the developer list to ask for insights into why foswiki can or cannot support such a system.  I know it supports forms and templates, but I have my doubts about the rich query support I’m doing, given that foswiki uses text files for storage and its own core for access, while Mediawiki uses a database and lets the mysql process do a lot of work for it.  What I don’t have is real evidence.  Does anyone have any empirical or other statements for why such a transfer can’t take place? 

 

Thanks guys.

Sal

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Mauricio Etchevest | 25 Jan 05:33
Picon
Gravatar

refresh semantic data

Hi everyone!

I´m working on a extensio for SMW.

The problem is that my extension add new semantic data to pages. But when I reload the wiki page, the change is not seen quickly. I need to make an edition to see the changes.

For example, if the extension change the category of a wiki page, the next time I visit the page, the category is still the same, so I need to make an edition and save again the page.

Right now I'm doing this:

$resArticle = MediaWiki::articleFromTitle($title);
$valuestring = $resArticle->getContent();
$newvalue = $valuestring . $newAnotation;
$resArticle->doEdit($newvalue, '');


This is the right way of doing that?


Thanks!

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Mauricio Etchevest | 24 Jan 16:38
Picon
Gravatar

Selecting a Template

Hi everyone!

My problem is that I want to select a page, which is a template, by his category and doesn´t work.

I have this query:

{{ #ask: [ [ Category : categoryName ] ]  }}


and then I have a template which his category is "categoryName".

The template looks like:

<noinclude>
[ [ category: categoryName ] ]
</noinclude>

So I want to select the page of the template, not the pages where the template is used.


Which is the problem??


Thanks!
Maurice.-

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
James Hong Kong | 22 Jan 23:29
Picon

[SRF] New SRF Module - DataTables

Hi Jeroen,

Jeroen, I know you are busy with the Education extension and in
response to my earlier email I took the liberty to create a simple SRF
extension[0] that uses the jQuery DataTables plug-in.

The extension is quite simple as it uses more or less the same code as
in SMW_QP_Table.php with an addition of calling the DataTables
javascript that handles the display of the table.

==Current features ==

The current implementation allows:
# Table pagination
# Table in-line search
# Alternating row colours
# Sorting
# Adding table class through SRF class parameter

The implementation does not use any inline JS, all JS code is
outsourced in a file (srf.datatables.js) which is loaded through the
ResourceLoader.

== Ajax ==

Current implemented features are standard and do not warrant for an
additional SRF module but aside those design features, DataTables does
allow to reload data from a AJAX source[1] which would be a major
advantage for lists containing a large amount of data elements as
their could be progressively sourced after the page is loaded.

To make this work it would probably needs a working SMW API and as my
knowledge on ajax is zero, I do hope other experts in this community
could have look at it and make it work.

It might be that at a later point instead of transferring the data as
html object, a JSON object needs to be used so DataTables itself can
handle the display while the reload via Ajax would follow the same
entry point via the JSON object.

==Column filtering ==

Another feature (not enabled) is the possibility to individually
filter columns[2] by using input fields connected to each column.

If those two features are implemented, we would come a step closer in
making the list display of data more responsive and intuitive without
increasing the page loading time.

==Styling ==
The table styling can be influenced by either custom classes or jQuery
UI ThemeRoller, right now the deployed css class is rather simple (but
is serves the purpose).

== Current hiccups and something to fix ==

In general, MediaWiki tables do not work with <thead>, <tfoot> but
those are vital for DataTables to work with. So what I had to do, use
a small hack before the actual DataTables js comes into to play to
convert the first line into a <thead></thead> pair. This part of the
JS certainly needs some brush up, so someone feel free to make it
better.

When a wiki page does load more than one datatable (it works ok
without SRF), something isn't quite right with the positioning of the
headers (certainly has something to do with the hack that is currently
used to convert the <thead>). So it would be nice If some one could
fix this.

Since Jeroen is busy, it would be nice if  someone else could have a
look at it before it is deployed.

Right now it is hosted on [0] but I can create a bugzilla report and
attach the patch files (some SRF files needs to be patched as well).

[0] https://github.com/mwjames/smw-srfdatatables

[1] http://datatables.net/release-datatables/examples/server_side/server_side.html

[2] http://datatables.net/release-datatables/examples/api/multi_filter.html

Cheers,

mwjames

On Sun, Jan 22, 2012 at 1:52 PM, Jeroen De Dauw
<jeroendedauw@...> wrote:
> Hey,
>
>> However you would be loading the entire results in one shot, which could
> increase page load times with large data tables.
>
> Definitely not. You can not even do this due to query result limitations
> unless you go run multiple queries, but that's very evil.
>
> It'd just load the results you display initially, and then load more if
> they are needed. Think of Twitter and Facebook; they both load more tweets
> or nonsense of your friends if you click some continuation button or scroll
> down the page.
>
> Cheers
>
> --
> Jeroen De Dauw
> http://www.bn2vs.com
> Don't panic. Don't be evil.
> --
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@...
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

Gmane