X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=applications%2Fluci-freifunk-widgets%2Fluasrc%2Fmodel%2Fcbi%2Ffreifunk%2Fwidgets%2Frssfeed.lua;fp=applications%2Fluci-freifunk-widgets%2Fluasrc%2Fmodel%2Fcbi%2Ffreifunk%2Fwidgets%2Frssfeed.lua;h=0000000000000000000000000000000000000000;hb=1bb4822dca6113f73e3bc89e2acf15935e6f8e92;hp=5df5a346fe4bcf6a3783f4f44343984cc41b7132;hpb=9edd0e46c3f880727738ce8ca6ff1c8b85f99ef4;p=project%2Fluci.git diff --git a/applications/luci-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/rssfeed.lua b/applications/luci-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/rssfeed.lua deleted file mode 100644 index 5df5a346f..000000000 --- a/applications/luci-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/rssfeed.lua +++ /dev/null @@ -1,35 +0,0 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- - -local map, section = ... -local utl = require "luci.util" - -local form, ferr = loadfile(utl.libpath() .. "/model/cbi/freifunk/widgets/heightwidth.lua") -if form then - setfenv(form, getfenv(1))(m, wdg) -end - -local url = wdg:option(Value, "url", translate("URL")) -url.default = "http://global.freifunk.net/rss/all/rss.xml" - -local max = wdg:option(Value, "max", translate("Maximal entries to show")) -max.rmempty = true -max.default = "10" -max.datatype = "integer" - -local cache = wdg:option(Value, "cache", translate("Cache Time"), translate("Cache downloaded feed for that many seconds.")) -cache.rmempty = true -cache.default = "3600" -cache.datatype = "integer" - -