commit dbdff257966c65feed6dd9360bc3d50549d9c4c9 Author: Yorik van Havre Date: Thu Sep 12 00:30:59 2013 -0300 Startpage: Fixed links diff --git a/src/Mod/Start/StartPage/StartPage.py b/src/Mod/Start/StartPage/StartPage.py index 478bf40..43985f3 100644 --- a/src/Mod/Start/StartPage/StartPage.py +++ b/src/Mod/Start/StartPage/StartPage.py @@ -84,7 +84,7 @@ text34 = translate("StartPage","creation time:") text35 = translate("StartPage","last modified:") text36 = translate("StartPage","location:") text37 = translate("StartPage","User manual") -text38 = translate("StartPage","http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Online_Help_Toc") +text38 = translate("StartPage","http://www.freecadweb.org/wiki/index.php?title=Online_Help_Toc") text39 = translate("StartPage","Tutorials") text40 = translate("StartPage","Python resources") text41 = translate("StartPage","File not found") @@ -97,7 +97,7 @@ text47 = translate("StartPage","The section of the FreeCAd website dedicate dto text48 = translate("StartPage","A blog dedicated to teaching FreeCAD, maintained by members of the FreeCAD community") text49 = translate("StartPage","Getting started") text50 = translate("StartPage","The FreeCAD interface is divided in workbenches, which are sets of tools suited for a specific task. You can start with one of the workbenches in this list, or with the complete workbench, which presents you with some of the most used tools gathered from other workbenches. Click to read more about workbenches on the FreeCAD website.") -text51 = translate("StartPage","http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Workbench_Concept") +text51 = translate("StartPage","http://www.freecadweb.org/wiki/index.php?title=Workbench_Concept") text52 = translate("StartPage","Ship Design") text53 = translate("StartPage","Designing and calculating ships") text54 = translate("StartPage","The Ship Design module offers several tools to help ship designers to view, model and calculate profiles and other specific properties of ship hulls.") @@ -159,7 +159,7 @@ page = """ ddiv.innerHTML = "Done fetching"; ddiv = document.getElementById("news"); ddiv.innerHTML = "Fetching data from the web..."; - var tobj=new JSONscriptRequest('http://twitter.com/status/user_timeline/FreeCADNews.json?count=10&callback=showTweets'); + var tobj=new JSONscriptRequest('http://pipes.yahoo.com/pipes/pipe.run?_id=da8b612e97a6bb4588b1ce27db30efd9&_render=json&_callback=showTweets'); tobj.buildScriptTag(); // Build the script tag tobj.addScriptTag(); // Execute (add) the script tag ddiv.innerHTML = "Done fetching"; @@ -182,19 +182,13 @@ page = """ ddiv = document.getElementById('news'); ddiv.innerHTML = "Received"; var html = [''); ddiv.innerHTML = html.join(''); } - function placeLinks(text) { - result=text.replace(/(https?:\/\/([-\w\.]+)+(:\d+)?(\/([\w\/_\.]*(\?\S+)?)?)?)/g,'$1'); - return result; - } -