User Tag List

Results 1 to 7 of 7

Thread: The age old question: Possible or not?

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,107
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    The age old question: Possible or not?

    Is it at all possible for MMF2 to reference a wikipedia search and extract plain text? Even if it ripped info from simple.wikipedia.org searches, that would suffice. I'm curious, since wikipedia has a weird layout.

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use the GET Object to load the webpage. Analyze the HTML and see where the data you're looking for is, and then loop through and parse out that section. The simple wikipedia uses simpler language, but the format is the same so it wouldn't help you at all. Try http://m.wikipedia.org/

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,107
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    The age old question: Possible or not?

    Ok, cool. One thing simple.wikipedia offers is less reference links throughout the articles. As soon as I posted I thought of using mobile. In glad to hear it can be done, now its just a matter of figuring it all out...

    Thanks!

  4. #4
    Clickteam Clickteam
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,635
    Mentioned
    57 Post(s)
    Tagged
    3 Thread(s)
    As an alternative, you can access Wikipedia using the API. This generates raw text with the wiki formatting codes and template directives, but you may find this simpler to deal with. It is perfectly possible to use a combination of xml and regex extensions to strip out the stuff that you don't need, perhaps someone can help you with this.

    http://en.wikipedia.org/w/api.php?ac...rvprop=content

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,107
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    This is gonna take me a while to figure out...

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,107
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    But thanks for the responses!

  7. #7
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,512
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Simon View Post
    As an alternative, you can access Wikipedia using the API. This generates raw text with the wiki formatting codes and template directives, but you may find this simpler to deal with. It is perfectly possible to use a combination of xml and regex extensions to strip out the stuff that you don't need, perhaps someone can help you with this.

    http://en.wikipedia.org/w/api.php?ac...rvprop=content
    For future proofing it might be better to use JSON by adding &format=json. According to https://www.mediawiki.org/wiki/API#The_format: "Even though the API supports many different output formats such as WDDX, XML, YAML and native PHP, there are plans to remove all formats excepts for JSON, so you might not want to use them."
    .:::.Joshtek.:::.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •