View Single Post
Old 08-14-2007, 07:36 AM   #10
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by Hadrien View Post
How does a sample er_registry.txt file looks like ?
Here's my er_registry.txt. I've manually edited it to point the news button to the compact flash card. Everything else is the stock location.

Edit: You may want to hold off on adding this to your program. It seems the registry format has changed in 2.11

Code:
[BOOKS_CATEGORY]                                                                                                      
locationArray=/mnt/free/books;                                                                                        
searchType=or                                                                                                         
searchRecursive=false                                                                                                 
searchStringArray=;                                                                                                   
searchFieldArray=;                                                                                                    
sortFieldType=fsname                                                                                                  
sortAscending=true                                                                                                    
                                                                                                                      
[NEWSPAPERS_CATEGORY]                                                                                                 
locationArray=/mnt/cf;                                                                                                
searchType=or                                                                                                         
searchRecursive=false                                                                                                 
searchStringArray=;                                                                                                   
searchFieldArray=;                                                                                                    
sortFieldType=fsname                                                                                                  
sortAscending=true                                                                                                    
                                                                                                                      
[DOCUMENTS_CATEGORY]                                                                                                  
locationArray=/mnt/free/documents;                                                                                    
searchType=or                                                                                                         
searchRecursive=false                                                                                                 
searchStringArray=;                                                                                                   
searchFieldArray=;                                                                                                    
sortFieldType=fsname                                                                                                  
sortAscending=true                                                                                                    
                                                                                                                      
[NOTES_CATEGORY]                                                                                                      
locationArray=/mnt/free/notes;                                                                                        
searchType=or                                                                                                         
searchRecursive=false                                                                                                 
searchStringArray=;                                                                                                   
searchFieldArray=;                                                                                                    
sortFieldType=fsname                                                                                                  
sortAscending=true
Adam B. is offline   Reply With Quote