Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 RSS Feed (by forum & by cat)
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 13

gpspassion
Junior Member

260 Posts

Posted - 04 September 2006 :  20:20:53  Show Profile  Visit gpspassion's Homepage  Reply with Quote
ah, thanks for the pointer, although I'm concerned my basic lack of a clue when it comes to ASP will take me very far, but I'll give it a shot ;-)<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 11 September 2006 :  17:29:39  Show Profile  Visit bobby131313's Homepage  Reply with Quote
I'm having the MySQL problem with headlines.asp. I'm sure its in here...

quote:
strSql = "SELECT TOP " & intResults
strSql = strSql & " T.T_REPLIES,"
strSql = strSql & " T.T_SUBJECT,"
strSql = strSql & " T.TOPIC_ID,"
strSql = strSql & " T.T_LAST_POST,"
strSql = strSql & " T.T_AUTHOR,"
strSql = strSql & " T.T_DATE,"
strSql = strSql & " T.T_LAST_POST_AUTHOR,"
strSql = strSql & " T.T_LAST_POST_REPLY_ID,"
strSql = strSql & " T.T_MESSAGE"
strSql = strSql & " FROM " & strTablePrefix & "TOPICS T," & strTablePrefix & "FORUM F"
strSql = strSql & " WHERE T.FORUM_ID = F.FORUM_ID"
strSql = strSql & " AND F.F_PRIVATEFORUMS = 0 AND "
if request.querystring("show") = "weblogs" or request.querystring("show") = "logs" then
strSQL = strSQL & "T.FORUM_ID = " & strWeblogsForum
else
strSQL = strSQL & "(T.FORUM_ID = " & strNewsForum & " OR "
strSQL = strSQL & "T.FORUM_ID = " & strNewsLinksForum & ")"
end if
strSql = strSql & " AND T.T_STATUS = 1"
strSql = strSql & " ORDER BY T_DATE DESC"

set rs = Server.CreateObject("ADODB.Recordset")
rs.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText

if rs.EOF then
recActiveTopicsCount = ""
else
allActiveTopics = rs.GetRows(adGetRowsRest)
recActiveTopicsCount = UBound(allActiveTopics,2)
end if

rs.close
set rs = nothing


If someone could help I'd appreciate it.

Also, it was said that you must specify a news forum. Where is this done? Is it just a query string on the url or is it in the file somewhere?


Never mind, the content display mod which I already have will output an xml file that suits my purpose.



<

Switch the order of your title tags

Edited by - bobby131313 on 11 September 2006 20:01:27
Go to Top of Page

wildfiction
Junior Member

167 Posts

Posted - 24 November 2006 :  21:46:57  Show Profile  Visit wildfiction's Homepage  Reply with Quote
Quick question. In the RSS.ASP mod it puts the <ttl> element inside the <item> element. Should the <ttl> element not be at the same level as the <item> element? i.e. a sibling and not a child?<
Go to Top of Page

LeeC
Starting Member

36 Posts

Posted - 27 November 2006 :  16:49:46  Show Profile  Visit LeeC's Homepage  Reply with Quote
Marcel, the link doesn't seem to be working anymore to access the source code. Could you update us on where to find the Source?<

Oh WTF!com
Convergence - an MMORPG guild
.rdw. a CS clan
GotFrag? - Your online eSports resource

urK?!?
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 28 November 2006 :  01:39:30  Show Profile  Visit MarcelG's Homepage  Reply with Quote
LeeC ; http://oxle.com/source.asp?page=rss.asp still works, but does require you to log in first.
Use demo/demo if you do not wish to register.

[updated]
Sorry guys, it turns out source.asp was available only to mods/admins.
It's changed now, so that all logged on members can access the source.
Sorry for that...
<

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 29 November 2006 05:37:14
Go to Top of Page

wildfiction
Junior Member

167 Posts

Posted - 30 November 2006 :  12:48:45  Show Profile  Visit wildfiction's Homepage  Reply with Quote
MarcelG: Changing line 78 to this:


strSql = strSql & "FROM (" & strTablePrefix & "TOPICS T INNER JOIN " & strTablePrefix & "FORUM F ON T.FORUM_ID = F.FORUM_ID) LEFT JOIN " & strTablePrefix & "REPLY R ON T.T_LAST_POST_REPLY_ID = R.REPLY_ID"


will make it more robust for some users.

Thanks for all the work you've done on this!<
Go to Top of Page

StephenD
Senior Member

Australia
1044 Posts

Posted - 15 January 2007 :  00:59:00  Show Profile  Send StephenD a Yahoo! Message  Reply with Quote
I'm using Gelliotts extension mod and I get the following error:
Microsoft OLE DB Provider for SQL Server error '80040e14'

'mid' is not a recognized function name.

/inc_func_rsslog.asp, line 64

when browsing to the rssfeed

SQL Server, SSL url<

Edited by - StephenD on 15 January 2007 01:34:01
Go to Top of Page

pitstraight
New Member

Australia
82 Posts

Posted - 24 July 2008 :  17:13:12  Show Profile  Reply with Quote
I installed this yesterday and I'm getting some errors. I fixed most of them (things like changing the encoding type to US-ASCII, author details, etc..) but I still have 2 that I need to fix if someone can help me:

1. Invalid HTML: bad end tag: u'</blockquote id="quote">', at line 1, column 426

I don't know what the u means, but '</blockquote id="quote">' is used at the end of every quoted text in my forum

2. 'ascii' codec can't decode byte 0x92 in position 35141: ordinal not in range(128) (maybe a high-bit character?)

The character highlighted is the quote used here: Frank’s car

<
Go to Top of Page

pitstraight
New Member

Australia
82 Posts

Posted - 25 July 2008 :  00:14:08  Show Profile  Reply with Quote
Anyone ?

My users are using quotes -> ` or ' as they usually do and it's screwing up the feed.

It only seems to be the quote and the end blockquote that is upsetting the feed.<
Go to Top of Page

pitstraight
New Member

Australia
82 Posts

Posted - 25 July 2008 :  00:51:21  Show Profile  Reply with Quote
OK, using some online HTML and RSS references (god I hate corporate firewalls, it would be so much easier to just post the link here ). I've found by using this site: http://validator.w3.org/feed/check.cgi that:

- I can use utf-8, if ...
- </blockquote id="quote"> is changed to </blockquote> and </font id="quote"> is changed to </font>
Where do I change these tages ?

Then I think it will work.<
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 25 July 2008 :  01:14:18  Show Profile  Reply with Quote
0x92 is Microsoft's Smart Quote possibly running a regex 0x92 to 0x27 would solve the problem.

Article about Smart Quotes

Edit: What was I thinking RegEx for that! I think fString = replace(fString, "0x92", "'", 1, -1, 1) will work<

Edited by - phy1729 on 25 July 2008 01:19:26
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 25 July 2008 :  01:17:04  Show Profile  Reply with Quote
quote:
Originally posted by pitstraight

OK, using some online HTML and RSS references (god I hate corporate firewalls, it would be so much easier to just post the link here ). I've found by using this site: http://validator.w3.org/feed/check.cgi that:

- I can use utf-8, if ...
- </blockquote id="quote"> is changed to </blockquote> and </font id="quote"> is changed to </font>
Where do I change these tages ?

Then I think it will work.


You can not make those changes. The forum would be unable to translate the HTML back into forum code unless you want to use a slower regex solution.<
Go to Top of Page

pitstraight
New Member

Australia
82 Posts

Posted - 25 July 2008 :  01:17:54  Show Profile  Reply with Quote
I tried a Replace earlier but I couldn't get it to work properly. Switching back to utf-8 has fixed it though. I'll have a go at regex if I can't get anything else to work.<
Go to Top of Page

pitstraight
New Member

Australia
82 Posts

Posted - 25 July 2008 :  01:27:20  Show Profile  Reply with Quote
quote:
Originally posted by phy1729


Edit: What was I thinking RegEx for that! I think fString = replace(fString, "0x92", "'", 1, -1, 1) will work

Won't that look for the literal "0x92" ?

Would it work without the " ?

I can't change the code atm so just throwing hypotheticals.<
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 25 July 2008 :  01:33:15  Show Profile  Reply with Quote
I don't know.<

Edited by - phy1729 on 25 July 2008 01:33:41
Go to Top of Page
Page: of 13 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07