- Individual Applications
Protect
Filter
Perform
Connect
Add-Ons
- Software Packages
- Complete Appliances
|
|
#21 (permalink) | |
![]() ![]() Join Date: Jul 2008
Posts: 2,766
![]() |
Quote:
![]() You'd be better off writing a script to format your ad blocker list into proper JSON.
__________________
m. Big Frickin Disclaimer: While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions. It often helps troubleshooting if you have a good network map. Look here if you want my advice on how to draw one. Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself. If you need Untangle support please call or email support@untangle.com |
|
|
|
|
|
#22 (permalink) |
![]() |
i can add so it checks for " in the string and replace it with \" before generating the json output.
Will look at it during the weekend if time allows.
__________________
"Of all the things I've lost, I miss my mind the most" Untangle Reseller (Sweden) WebFooL@fakenews.se http://fakenews.se/ Need space to Upload content for you forum post? http://about.me/webfool |
|
|
|
|
#23 (permalink) | |
|
Untanglit
Join Date: Sep 2011
Posts: 18
![]() |
Quote:
Thank You for the tip! |
|
|
|
|
|
#24 (permalink) | |
|
Untanglit
Join Date: Sep 2011
Posts: 18
![]() |
Quote:
No offence but I really don't like the way the Ad Block rules is updated right now. First of all I can't upload the rules as is and secondly update is done manually. I would like to wget the list of choice and convert it to .csv (there is probably a better solution but I'm no coder so I don't know/have the experience) and then import the .csv to the database table. Also, it would be nice if the Untangle upgrade process would be modular. Let's say I have made changes to the Ad Block module (or OpenVPN) and want to use that in the future so I choose not to update Ad Block module. I understand that module A can rely on module B and thus this "dream" can be.. just a dream. Don't get me wrong, I really like Untangle but there is no such thing as a perfect product. |
|
|
|
|
|
#25 (permalink) |
![]() |
csv to json
http://www.cparker15.com/utilities/csv-to-json/ you just need to have the csv formatted correctly (you need the header row to be right)
__________________
"Of all the things I've lost, I miss my mind the most" Untangle Reseller (Sweden) WebFooL@fakenews.se http://fakenews.se/ Need space to Upload content for you forum post? http://about.me/webfool |
|
|
|
|
#26 (permalink) | |
|
Untanglit
Join Date: Sep 2011
Posts: 18
![]() |
Quote:
|
|
|
|
![]() |
| Thread Tools | |
|
|