Jump to content

Website Database


SlimShady
 Share

Recommended Posts

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 description

Take the url. Use urldownload and parse the description tag and title tag

Rick

Link to comment
Share on other sites

  • Replies 88
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 by SlimShady
Link to comment
Share on other sites

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

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 clear

It 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

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

Why 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

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 programmer

Rick

Link to comment
Share on other sites

Small update.

I added options to choose from when updating or importing.

  • Update keywords only
  • Update descriptions/title only
  • Update both
And I fixed a problem when you have subcategories and export the database to an HTML page. Edited by SlimShady
Link to comment
Share on other sites

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.0

Line 1063 (File "...\WebsitesDB.au3");

For $n = 1 To $Searchwords[0]

For $n = 1 To $Searchwords^ERROR

Error: 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 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...