Hi,

On 2009-03-04 04:46, Yaron Koren wrote:
> Alright, since no one objected (and there was some support), I added in 
> code to SMW that prints out a header row for the CSV format, 
> conveniently suitable for the "CSV with header" option in the External 
> Data extension. If you're using the very latest version, you can get rid 
> of the header row by adding "|headers=hide" to the query.

This is great :)

I recommend the following procedure to preserve the original behaviour 
throughout a Wiki:

* Install the ReplaceText extension
   (http://www.mediawiki.org/wiki/Extension:Replace_Text)
* In a browser go to 
WIKI_BASE_URL/Special:ReplaceText?title=Special%3AReplaceText&target_str=format%3Dcsv&replacement_str=headers%3Dhide+|+format%3Dcsv

Patrick.

-- 
Key ID: 0x86E346D4            http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to