tutor2000 Posted May 29, 2004 Share Posted May 29, 2004 Ok, it's a challenge.....Surprise, surprise! I managed to import all favorites into the database,with the filename (without the extension) as the description.I'm now implementing a way to "export to folder". You can start organising your favorites folder.Within 2 hours you'll be able to import all your favorites in a few seconds!Here's an idea for descriptionTake the url. Use urldownload and parse the description tag and title tagRick Link to comment Share on other sites More sharing options...
SlimShady Posted May 29, 2004 Author Share Posted May 29, 2004 (edited) I was thinking about that. But I hesitated because it can take a while (I think) when you have many favorites. I'll test it and if it does work faster than I expected, I'll update it. Edited May 29, 2004 by SlimShady Link to comment Share on other sites More sharing options...
SlimShady Posted May 29, 2004 Author Share Posted May 29, 2004 I added your request. I included a progressbar, so you know it's busy importing. Link to comment Share on other sites More sharing options...
tutor2000 Posted May 29, 2004 Share Posted May 29, 2004 I added your request. I included a progressbar, so you know it's busy importing.I wrote htm2ini . It's old and could probably be improved. Easier to upload than write the code. Is there a place to do it here if you want it or should I do it in yahoo groups if you want it?Rick Link to comment Share on other sites More sharing options...
SlimShady Posted May 29, 2004 Author Share Posted May 29, 2004 You can only post text/code here. So you will have to upload it. Can you explain what the function is of that script? Link to comment Share on other sites More sharing options...
tutor2000 Posted May 29, 2004 Share Posted May 29, 2004 You can only post text/code here.So you will have to upload it.Can you explain what the function is of that script?Sorry thought the title was clearIt takes the local webpages I submit to FFA's and parses them for title, description and keyword tags. It then gives me the option of selecting a base url http://kirkhamsebooks.8m.com/ for example and adds the webpages to the ini file I also selecte with that link for submission. It doesn't submit anything just parses. I wrote it for my SubmitByRick autoit proggy which uses the browser (HTA actually) to submit.Most of my compiled stuff can be found at http://health.groups.yahoo.com/group/KirkhamsEbooks/ and http://health.groups.yahoo.com/group/KirkhamsEbooks2 Without the code naturally but you guys are welcome to the code of course. I learned the little I know through the good graces of the autoit forum so it would only be proper to share.Rick Link to comment Share on other sites More sharing options...
SlimShady Posted May 29, 2004 Author Share Posted May 29, 2004 I'd like to see the script. I don't think I will need it, but it might give me ideas. Link to comment Share on other sites More sharing options...
tutor2000 Posted May 29, 2004 Share Posted May 29, 2004 I'd like to see the script. I don't think I will need it, but it might give me ideas.http://groups.yahoo.com/group/AutoItList/files/AU3/SCRIPTS/Hope you get a nugget out of itRick Link to comment Share on other sites More sharing options...
SlimShady Posted May 30, 2004 Author Share Posted May 30, 2004 1) Your code is very long. Hard to see what's happening. 2) Updated the script. Changes: - Script goes to the website and extracts the title - when the script is extracting the title it will extract the 'meta keywords' (when available) So, your favorites will have the correct title and you can search through the database and it will match more results. Link to comment Share on other sites More sharing options...
bobheart Posted May 30, 2004 Share Posted May 30, 2004 http://groups.yahoo.com/group/AutoItList/files/AU3/SCRIPTS/ Hope you get a nugget out of it RickWhy do most of your scripts give this error ? --------------------------- AutoIt Error --------------------------- Line 47 (File "C:\Documents and Settings\Candles\My Documents\My Downloads\aping\SCRIPTS\Au3\Aping.au3"): If FileExists($temp & "\pinging.txt") Error: "If" statements must have a "Then" keyword. --------------------------- OK --------------------------- Link to comment Share on other sites More sharing options...
SlimShady Posted May 30, 2004 Author Share Posted May 30, 2004 I updated the script. I enhanced the search feature. You can now search with multiple keywords. Link to comment Share on other sites More sharing options...
tutor2000 Posted May 30, 2004 Share Posted May 30, 2004 1) Your code is very long. Hard to see what's happening.2) Updated the script. Changes:- Script goes to the website and extracts the title- when the script is extracting the title it will extract the 'meta keywords' (when available)So, your favorites will have the correct title and you can search through the database and it will match more results.Old program and I'm not a real programmerRick Link to comment Share on other sites More sharing options...
SlimShady Posted May 31, 2004 Author Share Posted May 31, 2004 Updated. Added update feature.You can now update:keywords and title from an itemkeywords and titles from all the items in a categorykeywords and titles from all items in every category Link to comment Share on other sites More sharing options...
SlimShady Posted May 31, 2004 Author Share Posted May 31, 2004 (edited) Small update.I added options to choose from when updating or importing.Update keywords onlyUpdate descriptions/title onlyUpdate bothAnd I fixed a problem when you have subcategories and export the database to an HTML page. Edited May 31, 2004 by SlimShady Link to comment Share on other sites More sharing options...
Raik Posted June 1, 2004 Share Posted June 1, 2004 -> b1 -> 1 -> AutoIt Error $CheckKeyw1 = StringInStr($Line,"<meta name",0,-1) $CheckKeyw1 = ^ERROR Error: Incorrect number of parameters in function call. AutoIt-Syntaxsheme for Proton & Phase5 * Firefox Addons by me (resizable Textarea 0.1d) (docked JS-Console 0.1.1) Link to comment Share on other sites More sharing options...
SlimShady Posted June 1, 2004 Author Share Posted June 1, 2004 Sorry, I forgot to mention:You have to use the latest beta of AutoIt for this verison.http://www.autoitscript.com/autoit3/files/unstable/autoit Link to comment Share on other sites More sharing options...
Raik Posted June 1, 2004 Share Posted June 1, 2004 yes! now it works! suggestion: add little sleep to "import favorites" routine. reaction on moving the window is very delayed. AutoIt-Syntaxsheme for Proton & Phase5 * Firefox Addons by me (resizable Textarea 0.1d) (docked JS-Console 0.1.1) Link to comment Share on other sites More sharing options...
SlimShady Posted June 1, 2004 Author Share Posted June 1, 2004 At the end or the beginning of the routine? I didn't put any delay in the import favorites function so it works faster. Not fast enough, but that's because it downloads the titles and keywords. Link to comment Share on other sites More sharing options...
SlimShady Posted June 1, 2004 Author Share Posted June 1, 2004 The reason that the Gui isn't finished is because I couldn't think of how it would/should look like.I made an example: here.And how should the import/export section look like?Tell me what you think. Link to comment Share on other sites More sharing options...
Raik Posted June 1, 2004 Share Posted June 1, 2004 (edited) the idea behind is, to give the os time, to move the window, while the routine runs.may be, sleep(10) is enought for the os, to move the window.new error:autoit ver. 3.0.102.0Line 1063 (File "...\WebsitesDB.au3");For $n = 1 To $Searchwords[0]For $n = 1 To $Searchwords^ERRORError: Subscript used with non-Array variable.EDIT:for me this gui looks nice. i think, make it and then wait for ideas, to change something. Edited June 1, 2004 by Raik AutoIt-Syntaxsheme for Proton & Phase5 * Firefox Addons by me (resizable Textarea 0.1d) (docked JS-Console 0.1.1) 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