determinate determinate

Author Topic: FeedWatch 1.0 LUA 5.1x [Strict][API 2]  (Read 9862 times)

0 Members and 1 Guest are viewing this topic.

Offline sauron747

  • Junior Member
  • **
  • Posts: 11
  • Karma: +0/-0
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #70 on: March 30, 2010, 07:06:43 pm »
It's doesn't work :( this is post link what i use: http://www.filmweb.pl/rss/news
and I see all the times:
Code: [Select]
title:              Ĺšwiatowy box-office: Czary Alicji wciÄ…ĹĽ dziaĹ‚ajÄ…
link:                http://www.filmweb.pl/%C5%9Awiatowy+box-office+Czary+Alicji+wci%C4%85%C5%BC+dzia%C5%82aj%C4%85,News,...
description:        "Alicja w krainie czarĂłw" czwarty weekend z rzÄ™du zajmuje pierwsze miejsce w zestawieniu Ĺ›wiatowe...

The problem is witch this characters: ("Ä…","ć","Ä™","Ĺ‚","Ĺ„","Ĺ›","Ĺş","ĹĽ","Ä„","Ć","Ä?","Ĺ?","Ĺ?","Ĺš","Ĺą","Ĺ»").
Thanks a lat Mutor  :),and sorry for waisting your time  :).

Offline Mutor

  • Global Moderator
  • Forum God
  • *****
  • Posts: 3 854
  • Karma: +395/-18
  • To err is human, to arr is pirate...
    • PxDev
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #71 on: March 30, 2010, 08:23:24 pm »
Try this then:

Code: [Select]
["%%C4%%80"] = "Ā",["%%C4%%81"] = "ā",["%%C4%%82"] = "Ă",["%%C4%%83"] = "ă",["%%C4%%84"] = "Ą",
["%%C4%%85"] = "ą",["%%C4%%86"] = "Ć",["%%C4%%87"] = "ć",["%%C4%%88"] = "Ĉ",["%%C4%%89"] = "ĉ",
["%%C4%%8A"] = "Ċ",["%%C4%%8B"] = "ċ",["%%C4%%8C"] = "Č",["%%C4%%8D"] = "č",["%%C4%%8E"] = "Ď",
["%%C4%%8F"] = "ď",["%%C4%%90"] = "Đ",["%%C4%%91"] = "đ",["%%C4%%92"] = "Ē",["%%C4%%93"] = "ē",
["%%C4%%94"] = "Ĕ",["%%C4%%95"] = "ĕ",["%%C4%%96"] = "Ė",["%%C4%%97"] = "ė",["%%C4%%98"] = "Ę",
["%%C4%%99"] = "ę",["%%C4%%9A"] = "Ě",["%%C4%%9B"] = "ě",["%%C4%%9C"] = "Ĝ",["%%C4%%9D"] = "ĝ",
["%%C4%%9E"] = "Ğ",["%%C4%%9F"] = "ğ",["%%C4%%A0"] = "Ġ",["%%C4%%A1"] = "ġ",["%%C4%%A2"] = "Ģ",
["%%C4%%A3"] = "ģ",["%%C4%%A4"] = "Ĥ",["%%C4%%A5"] = "ĥ",["%%C4%%A6"] = "Ħ",["%%C4%%A7"] = "ħ",
["%%C4%%A8"] = "Ĩ",["%%C4%%A9"] = "ĩ",["%%C4%%AA"] = "Ī",["%%C4%%AB"] = "ī",["%%C4%%AC"] = "Ĭ",
["%%C4%%AD"] = "ĭ",["%%C4%%AE"] = "Į",["%%C4%%AF"] = "į",["%%C4%%B0"] = "İ",["%%C4%%B1"] = "ı",
["%%C4%%B2"] = "IJ",["%%C4%%B3"] = "ij",["%%C4%%B4"] = "Ĵ",["%%C4%%B5"] = "ĵ",["%%C4%%B6"] = "Ķ",
["%%C4%%B7"] = "ķ",["%%C4%%B8"] = "ĸ",["%%C4%%B9"] = "Ĺ",["%%C4%%BA"] = "ĺ",["%%C4%%BB"] = "Ļ",
["%%C4%%BC"] = "ļ",["%%C4%%BD"] = "Ľ",["%%C4%%BE"] = "ľ",["%%C4%%BF"] = "Ŀ",["%%C5%%80"] = "ŀ",
["%%C5%%81"] = "Ł",["%%C5%%82"] = "ł",["%%C5%%83"] = "Ń",["%%C5%%84"] = "ń",["%%C5%%85"] = "Ņ",
["%%C5%%86"] = "ņ",["%%C5%%87"] = "Ň",["%%C5%%88"] = "ň",["%%C5%%89"] = "ʼn",["%%C5%%8A"] = "Ŋ",
["%%C5%%8B"] = "ŋ",["%%C5%%8C"] = "Ō",["%%C5%%8D"] = "ō",["%%C5%%8E"] = "Ŏ",["%%C5%%8F"] = "ŏ",
["%%C5%%90"] = "Ő",["%%C5%%91"] = "ő",["%%C5%%92"] = "Œ",["%%C5%%93"] = "œ",["%%C5%%94"] = "Ŕ",
["%%C5%%95"] = "ŕ",["%%C5%%96"] = "Ŗ",["%%C5%%97"] = "ŗ",["%%C5%%98"] = "Ř",["%%C5%%99"] = "ř",
["%%C5%%9A"] = "Ś",["%%C5%%9B"] = "ś",["%%C5%%9C"] = "Ŝ",["%%C5%%9D"] = "ŝ",["%%C5%%9E"] = "Ş",
["%%C5%%9F"] = "ş",["%%C5%%A0"] = "Š",["%%C5%%A1"] = "š",["%%C5%%A2"] = "Ţ",["%%C5%%A3"] = "ţ",
["%%C5%%A4"] = "Ť",["%%C5%%A5"] = "ť",["%%C5%%A6"] = "Ŧ",["%%C5%%A7"] = "ŧ",["%%C5%%A8"] = "Ũ",
["%%C5%%A9"] = "ũ",["%%C5%%AA"] = "Ū",["%%C5%%AB"] = "ū",["%%C5%%AC"] = "Ŭ",["%%C5%%AD"] = "ŭ",
["%%C5%%AE"] = "Ů",["%%C5%%AF"] = "ů",["%%C5%%B0"] = "Ű",["%%C5%%B1"] = "ű",["%%C5%%B2"] = "Ų",
["%%C5%%B3"] = "ų",["%%C5%%B4"] = "Ŵ",["%%C5%%B5"] = "ŵ",["%%C5%%B6"] = "Ŷ",["%%C5%%B7"] = "ŷ",
["%%C5%%B8"] = "Ÿ",["%%C5%%B9"] = "Ź",["%%C5%%BA"] = "ź",["%%C5%%BB"] = "Ż",["%%C5%%BC"] = "ż",
["%%C5%%BD"] = "Ž",["%%C5%%BE"] = "ž",`
Respectfully,

Mutor

=-=-=-=-=-=-=-==-=-=-=
[ Ptokax Admins Hub ] Ptokax Help Hub
[ Mutor's Ptokax Archive Website ] Scripting Forum
[ Dynamic Downloads ] API 2
[ Microsoft IIS serving PxWeb 1.0d ] API 2
[ WebReg 1.1.2.0 ] Web Based Hub Reg

Offline lUk3f1l3w4lK3R

  • Junior Member
  • **
  • Posts: 23
  • Karma: +4/-0
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #72 on: May 21, 2010, 01:36:20 am »
Hi Mutor,

would be nice if you could add this option to the script:
option to use preset tag in lieu of domain in report.

You have add it to the Eximius version of this script and it would be nice to have the option in the PtokaX script too.

best regards
lUk3f1l3w4lK3R

Offline onkel

  • Junior Member
  • **
  • Posts: 22
  • Karma: +0/-0
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #73 on: May 25, 2010, 10:33:29 pm »
tja,

this can add new releases from pre sites etc? scenereleases etc and private sites?

and be posted in main too?

Offline Mutor

  • Global Moderator
  • Forum God
  • *****
  • Posts: 3 854
  • Karma: +395/-18
  • To err is human, to arr is pirate...
    • PxDev
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #74 on: May 25, 2010, 11:19:10 pm »
It may be used for any RSS 1.0/2.0 feeds and be adapted your your needs.
Respectfully,

Mutor

=-=-=-=-=-=-=-==-=-=-=
[ Ptokax Admins Hub ] Ptokax Help Hub
[ Mutor's Ptokax Archive Website ] Scripting Forum
[ Dynamic Downloads ] API 2
[ Microsoft IIS serving PxWeb 1.0d ] API 2
[ WebReg 1.1.2.0 ] Web Based Hub Reg

Offline onkel

  • Junior Member
  • **
  • Posts: 22
  • Karma: +0/-0
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #75 on: May 26, 2010, 08:52:41 am »
hm

i get no file etc, do i have to add some extra files?
(just coped the code)

   http://www.czdc.org/PtokaX/Libs-0.4.0.0RC6/PXLuaSocket-2.0.2.7z
   Extract to PtokaX\scripts\libs
not gettin anythin off that one :D
« Last Edit: May 26, 2010, 08:57:40 am by onkel »

Offline the-master

  • Fulll Member
  • ****
  • Posts: 56
  • Karma: +5/-1
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #76 on: May 26, 2010, 08:57:53 am »
no extra files needed, just copie the lua code into notepad++ or some editor and save as a .lua
or grab the lua from mutor's download addy's
keep on sharing :)

dchub://myownhub.no-ip.biz:511
take a peek inthere ;-)

Offline onkel

  • Junior Member
  • **
  • Posts: 22
  • Karma: +0/-0
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #77 on: May 26, 2010, 09:02:48 am »
can Ø,ä,ö be added there too?
« Last Edit: May 26, 2010, 09:51:08 am by onkel »

Offline Mutor

  • Global Moderator
  • Forum God
  • *****
  • Posts: 3 854
  • Karma: +395/-18
  • To err is human, to arr is pirate...
    • PxDev
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #78 on: May 26, 2010, 01:54:22 pm »
You DO need the PxLuaSocket 2.0.2 extension library as stated in the notes.
The link in the script that you just re-posted is valid. Posix users will need to
compile the lib. v1.0i has an extended code table for the other characters.
You may add any additional characters and codes as is necessary.
Respectfully,

Mutor

=-=-=-=-=-=-=-==-=-=-=
[ Ptokax Admins Hub ] Ptokax Help Hub
[ Mutor's Ptokax Archive Website ] Scripting Forum
[ Dynamic Downloads ] API 2
[ Microsoft IIS serving PxWeb 1.0d ] API 2
[ WebReg 1.1.2.0 ] Web Based Hub Reg

Offline P_pan

  • Double Ace
  • *
  • Posts: 120
  • Karma: +1/-3
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #79 on: August 21, 2010, 03:21:14 pm »
Hi..

I will not complain about this neat script because im using it aswell..

but i do have a little question about this 1

how can i adcieve....

2 feeds i wanted to be foreced in main..

further no rightklikmenu etc...

or can those options be added?

to disable the rc menu?
and add to feeds to beforced to shown in main?

or is it maybe a hint ..

for an RSS feed Lite?  heh

reason is.... many members don't known how to use RC menu

my aim is that we all can read the feeds  i have to gave... concerning hub.....

Mutor?

i always can ask tough?

Offline Mutor

  • Global Moderator
  • Forum God
  • *****
  • Posts: 3 854
  • Karma: +395/-18
  • To err is human, to arr is pirate...
    • PxDev
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #80 on: August 21, 2010, 05:59:13 pm »
reason is.... many members don't known how to use RC menu
Just how dim are your users? Is clicking a button really beyond them?

To not send commands find at ~line 197
Code: [Select]
SendFwCmds(user)and comment the line
Code: [Select]
--SendFwCmds(user)
As for forcing multiple feeds that will require some code changes.
Respectfully,

Mutor

=-=-=-=-=-=-=-==-=-=-=
[ Ptokax Admins Hub ] Ptokax Help Hub
[ Mutor's Ptokax Archive Website ] Scripting Forum
[ Dynamic Downloads ] API 2
[ Microsoft IIS serving PxWeb 1.0d ] API 2
[ WebReg 1.1.2.0 ] Web Based Hub Reg

Offline P_pan

  • Double Ace
  • *
  • Posts: 120
  • Karma: +1/-3
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #81 on: August 21, 2010, 06:48:46 pm »
yeah Mutor they are to lazy to do things....

aslong they can leech all is well..
bah..

but i appreciated ur reply  thank You.......

Offline Jimbob

  • Junior Member
  • **
  • Posts: 10
  • Karma: +1/-2
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #82 on: August 22, 2010, 02:13:00 pm »
Morning Mutor,

I would appreciate it if feeds could be added / removed by any user of a certain profile. Could you move the feeds list to an external file and add !addfeed
  • / !delfeed
  • and !listfeeds so that any admin could add any interesting feed of their own?


Thanks in anticipation.

Jim

alsoforum

  • Guest
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #83 on: December 18, 2010, 12:58:11 pm »
Hello Mutor.
I have been using this script for my site feeds.Like when there is a post it gives Feeds from those sites.But if the user is offline and he misses the feed.Though on Hub topic he gets the very recent feed. What i would like to suggest is can we have an option where we can get last 5 or x- number of feeds From all the site.dvd replicationanddiscountSo that even if any user misses any feeds from site he can always have an option to have a quick look over those feeds when he was offline.
Thanks in advance.



I have problem with Polish ISO 8859-2 code rss pages in FeedWatch. How and where i can change this? Now feedwatch show me: ĹĽ, Ĺ and many others bad codes.

Offline Mutor

  • Global Moderator
  • Forum God
  • *****
  • Posts: 3 854
  • Karma: +395/-18
  • To err is human, to arr is pirate...
    • PxDev
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #84 on: December 18, 2010, 05:00:32 pm »
You may add/edit/delete any codes in the Uni [unicode] and
Asc [ASCII] tables of the Decode function to suit your needs.
Respectfully,

Mutor

=-=-=-=-=-=-=-==-=-=-=
[ Ptokax Admins Hub ] Ptokax Help Hub
[ Mutor's Ptokax Archive Website ] Scripting Forum
[ Dynamic Downloads ] API 2
[ Microsoft IIS serving PxWeb 1.0d ] API 2
[ WebReg 1.1.2.0 ] Web Based Hub Reg

Offline Hamachi

  • Forum Ace
  • *****
  • Posts: 77
  • Karma: +0/-6
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #85 on: November 16, 2011, 06:31:47 pm »
Hey i have a problem whit https:

i get this:

 <html>
- <head><title>301 Moved Permanently</title></head>
- <body bgcolor="white">
- <center><h1>301 Moved Permanently</h1></center>
-
<center>nginx/1.0.4</center>
- </body>
- </html>

Some there can help ?

Offline Mutor

  • Global Moderator
  • Forum God
  • *****
  • Posts: 3 854
  • Karma: +395/-18
  • To err is human, to arr is pirate...
    • PxDev
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #86 on: November 16, 2011, 10:23:02 pm »
Quote
301 Moved Permanently

The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs.
The link is dead. In a perfect world, the server should return a new URI.
This status code [310] has nothing to do with https, which you referenced.
If your RSS feed is truly a secure connection [HTTPS] this script is not for you.
Respectfully,

Mutor

=-=-=-=-=-=-=-==-=-=-=
[ Ptokax Admins Hub ] Ptokax Help Hub
[ Mutor's Ptokax Archive Website ] Scripting Forum
[ Dynamic Downloads ] API 2
[ Microsoft IIS serving PxWeb 1.0d ] API 2
[ WebReg 1.1.2.0 ] Web Based Hub Reg

Offline Hamachi

  • Forum Ace
  • *****
  • Posts: 77
  • Karma: +0/-6
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #87 on: November 18, 2011, 09:37:09 pm »
Work the script not on https ?

Offline Mutor

  • Global Moderator
  • Forum God
  • *****
  • Posts: 3 854
  • Karma: +395/-18
  • To err is human, to arr is pirate...
    • PxDev
Re: FeedWatch 1.0 LUA 5.1x [Strict][API 2]
« Reply #88 on: November 18, 2011, 10:44:11 pm »
No Yoda, the socket lib does not support secure connections so the script does not.
LuaSec does but is not currently available for use in PtokaX.
LuaSec -- TLS/SSL Support for Lua: a simple HTTPS client built on top of LuaSocket's HTTP module.
Respectfully,

Mutor

=-=-=-=-=-=-=-==-=-=-=
[ Ptokax Admins Hub ] Ptokax Help Hub
[ Mutor's Ptokax Archive Website ] Scripting Forum
[ Dynamic Downloads ] API 2
[ Microsoft IIS serving PxWeb 1.0d ] API 2
[ WebReg 1.1.2.0 ] Web Based Hub Reg

 

determinate determinate