foozoor Posted September 12, 2012 Report Share Posted September 12, 2012 I have trouble downloading WampServer. I want to get the latest 64 bits version of WampServer for auto-updating. I tried from SourceForge but it was really difficult, I had a lot of error and I'm not really friend with regex. Someone have a solution with Ketarin? Thank you. Link to comment Share on other sites More sharing options...
necrox Posted September 15, 2012 Report Share Posted September 15, 2012 Which one of all those 64-bit versions do you need? EDIT: Done for Wampserver (64 bits & PHP 5.4) 2.2E! Search the online database for the quick and dirty way of it (database name: WAMP-Server). You have to start your work on their official website. It is a swing from http://www.wampserve...ownload-wrapper to the specific 64 bits download link and from there to the specific sourceforge download. Or use the xml profile... <?xml version='1.0' encoding='utf-8'?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="85983991-647b-42b5-a306-15c5d33f7bca"> <Category>System</Category> <WebsiteUrl>http://www.wampserver.com/#download-wrapper</WebsiteUrl> <UserAgent>{uamozilla}</UserAgent> <UserNotes /> <LastFileSize>30781131</LastFileSize> <LastFileDate>2012-05-28T17:22:47+02:00</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>true</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer>http://sourceforge.net</HttpReferer> <SetupInstructions /> <Variables> <item> <key> <string>appcat</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{appname:regexreplace: \(.*\):}</TextualContent> <Name>appcat</Name> </UrlVariable> </value> </item> <item> <key> <string>appfile</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{appname:multireplace:||)| :|_|_}</TextualContent> <Name>appfile</Name> </UrlVariable> </value> </item> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>div id="wampserver-64-bits" class="popin".*?<a href="(.+?)"></Regex> <Url>http://www.wampserver.com/#wampserver-64-bits</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex>div id="wampserver-64-bits" class="popin".*?charger Wampserver .*?(.+?)<</Regex> <Url>http://www.wampserver.com/#wampserver-64-bits</Url> <TextualContent>{dirtyversion:multireplace:||#038;:||}</TextualContent> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>Problems with the download.*?Please use this.*?href="(.+?)"</Regex> <Url>{download}</Url> <Name>url</Name> </UrlVariable> </value> </item> <item> <key> <string>dirtyversion</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>div id="wampserver-64-bits" class="popin".*?charger Wampserver .*?\((.+?)<</Regex> <Url>http://www.wampserver.com/#wampserver-64-bits</Url> <Name>dirtyversion</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>echo %date% - %time% // {appname} v{version} >> "{file:directory}"\history.txt</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation>G:\Install\Ketarin_2012-08-22\Ketarin\Downloads\System\WAMP-Server\wampserver2.2e-php5.4.3-httpd2.2.22-mysql5.5.24-x64.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2012-09-15T13:40:25.5605482+02:00</LastUpdated> <TargetPath>{downloads}\{category}\{appcat}\{url:basefile}.{url:ext}</TargetPath> <FixedDownloadUrl>{url}</FixedDownloadUrl> <Name>WAMP-Server</Name> </ApplicationJob> </Jobs> Link to comment Share on other sites More sharing options...
foozoor Posted September 17, 2012 Author Report Share Posted September 17, 2012 Thanks for the XML. I study the XML file and it's more difficult than a simple "search within contents". I'm not very familiar with RegEx... Link to comment Share on other sites More sharing options...
necrox Posted September 18, 2012 Report Share Posted September 18, 2012 Import it to your local database and have a look on it. That's the easiest way to follow. Link to comment Share on other sites More sharing options...
UksusoFF Posted October 5, 2012 Report Share Posted October 5, 2012 I'm not very familiar with RegEx... look at this https://ketarin.org/forum/topic/554-search-for-beautiful-regex-to-help-newbies/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now