Hi there,
I'm building a somewhat unique Wiki that will involve me writing an extension that allows us to embed Flash content (ie. streaming video). We're doing research within the communication/media industry and need this ability. There are two specific issues I need to solve:
- First, and simplest, I'm having trouble writing out Flash object references ie. <object classid=..... as HTML. I'm wondering how I can get Wiki to ignore the fact that my parse function extension is giving it actual HTML to render and not just Wiki format? - The second issue I'm having is that we would like to format a specific data structure within a Wiki article and have the Flash application retrieve information from the article and parse it. The data is presented in the other article as a simple list ie.
* Studio Name 1, 1980-1990 * Studio Name 2, 1980-1990 * Studio Name 3, 1980-1990 * Studio Name 4, 1980-1990 * Studio Name 5, 1980-1990 * Studio Name 6, 1980-1990 * Studio Name 7, 1980-1990
I'm wondering how I can extract that particular page for parsing by my Flash. My thought was simple to create a script within my extensions folder that spits out just the raw data from the Wiki page. So in essence when the page is loaded the Flash app would make a call to /extensions/myext/getarticledata.php?title=whatever here
I have been poking around the MediaWiki articles on how to accomplish these types of things, but I can't seem to find a solid solution. I'm a beginner Wiki developer so some initial guidance would be super appreciated :-)
Cheers and thanks!
Dave
# You may want to write your own tag extension[1] or use an existing one (which does not exactly do want you want)[2] # clicking on the edit tab and changing "action=edit" in "action=raw" (in the URI-bar) gives you a URI which spites out the raw wikitext[3]
[1] http://www.mediawiki.org/wiki/Manual:Tag_extensions [2] http://www.mediawiki.org/wiki/Extension:Secure_HTML [3] http://www.mediawiki.org/wiki/Manual:Page_action#Raw
On Sat, Feb 14, 2009 at 2:41 AM, David Di Biase dave.dibiase@gmail.com wrote:
Hi there,
I'm building a somewhat unique Wiki that will involve me writing an extension that allows us to embed Flash content (ie. streaming video). We're doing research within the communication/media industry and need this ability. There are two specific issues I need to solve:
- First, and simplest, I'm having trouble writing out Flash object
references ie. <object classid=..... as HTML. I'm wondering how I can get Wiki to ignore the fact that my parse function extension is giving it actual HTML to render and not just Wiki format?
- The second issue I'm having is that we would like to format a specific
data structure within a Wiki article and have the Flash application retrieve information from the article and parse it. The data is presented in the other article as a simple list ie.
- Studio Name 1, 1980-1990
- Studio Name 2, 1980-1990
- Studio Name 3, 1980-1990
- Studio Name 4, 1980-1990
- Studio Name 5, 1980-1990
- Studio Name 6, 1980-1990
- Studio Name 7, 1980-1990
I'm wondering how I can extract that particular page for parsing by my Flash. My thought was simple to create a script within my extensions folder that spits out just the raw data from the Wiki page. So in essence when the page is loaded the Flash app would make a call to /extensions/myext/getarticledata.php?title=whatever here
I have been poking around the MediaWiki articles on how to accomplish these types of things, but I can't seem to find a solid solution. I'm a beginner Wiki developer so some initial guidance would be super appreciated :-)
Cheers and thanks!
Dave _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hi Michael,
I am indeed going to be writing my own extensions to perform this functionality. There is however nothing that does exactly what I need or even close to it. All I need is to get the raw data out of the Wiki and make it available to the user. My thoughts right now were to use the API system to request the page name and spit it out in raw - this however would force the script to depend on a username/password. There has to be a way to do this from within the Wiki extension directly.
As for embedding the Flash - this has to be delivered via the extension, no one will be manually inserting the object embed code. So the suggestion of using Raw Wikitext input doesn't really help UNLESS there is a way I can have my parser extension tell the current editor to consider that portion raw. :-/
Thanks,
Dave
On Sat, Feb 14, 2009 at 5:34 AM, Michael Rosenthal < rosenthal3000@googlemail.com> wrote:
# You may want to write your own tag extension[1] or use an existing one (which does not exactly do want you want)[2] # clicking on the edit tab and changing "action=edit" in "action=raw" (in the URI-bar) gives you a URI which spites out the raw wikitext[3]
[1] http://www.mediawiki.org/wiki/Manual:Tag_extensions [2] http://www.mediawiki.org/wiki/Extension:Secure_HTML [3] http://www.mediawiki.org/wiki/Manual:Page_action#Raw
On Sat, Feb 14, 2009 at 2:41 AM, David Di Biase dave.dibiase@gmail.com wrote:
Hi there,
I'm building a somewhat unique Wiki that will involve me writing an extension that allows us to embed Flash content (ie. streaming video).
We're
doing research within the communication/media industry and need this ability. There are two specific issues I need to solve:
- First, and simplest, I'm having trouble writing out Flash object
references ie. <object classid=..... as HTML. I'm wondering how I can
get
Wiki to ignore the fact that my parse function extension is giving it
actual
HTML to render and not just Wiki format?
- The second issue I'm having is that we would like to format a
specific
data structure within a Wiki article and have the Flash application
retrieve
information from the article and parse it. The data is presented in the other article as a simple list ie.
- Studio Name 1, 1980-1990
- Studio Name 2, 1980-1990
- Studio Name 3, 1980-1990
- Studio Name 4, 1980-1990
- Studio Name 5, 1980-1990
- Studio Name 6, 1980-1990
- Studio Name 7, 1980-1990
I'm wondering how I can extract that particular page for parsing by my Flash. My thought was simple to create a script within my extensions
folder
that spits out just the raw data from the Wiki page. So in essence when
the
page is loaded the Flash app would make a call to /extensions/myext/getarticledata.php?title=whatever here
I have been poking around the MediaWiki articles on how to accomplish
these
types of things, but I can't seem to find a solid solution. I'm a
beginner
Wiki developer so some initial guidance would be super appreciated :-)
Cheers and thanks!
Dave _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org