Difference between revisions of "Update bookmarks from file"

From MythTV Official Wiki
Jump to: navigation, search
m (Mentioned that this code is Python in case it's not obvious)
Line 3: Line 3:
 
I'm not sure where to send this to make it available, hopefully this page will get spotted and shuffled off into the right place.
 
I'm not sure where to send this to make it available, hopefully this page will get spotted and shuffled off into the right place.
  
 +
{{Box File|bookmarks.py|
 
<pre>
 
<pre>
 
#Assumes you're using MySQL
 
#Assumes you're using MySQL
Line 38: Line 39:
 
currentGroupName=line[groupNameStarts+1:groupNameEnds]
 
currentGroupName=line[groupNameStarts+1:groupNameEnds]
 
</pre>
 
</pre>
 +
}}

Revision as of 03:47, 22 March 2007

This is some very basic Python code to simply remove all the existing websites and replace them with ones from your bookmarks file.

I'm not sure where to send this to make it available, hopefully this page will get spotted and shuffled off into the right place.

Template:Box File