get front page news out of my home idr
This commit is contained in:
		
							parent
							
								
									6ad09552ad
								
							
						
					
					
						commit
						1f7dd6707f
					
				| @ -59,7 +59,7 @@ import subprocess | |||||||
| 
 | 
 | ||||||
| SYSTEM_USERS = ['wiki', 'root', 'ubuntu', 'nate', 'nobody'] | SYSTEM_USERS = ['wiki', 'root', 'ubuntu', 'nate', 'nobody'] | ||||||
| DEFAULT_HTML_FILENAME = "/etc/skel/public_html/index.html" | DEFAULT_HTML_FILENAME = "/etc/skel/public_html/index.html" | ||||||
| NEWS_PATH = '/home/vilmibm/news.posts' | NEWS_PATH = '/town/news.posts' | ||||||
| blank_line_re = re.compile(r'\s*\n') | blank_line_re = re.compile(r'\s*\n') | ||||||
| title_re = re.compile(r'<title[^>]*>(.*)</title>', re.DOTALL) | title_re = re.compile(r'<title[^>]*>(.*)</title>', re.DOTALL) | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user