| Author |
Topic Search Topic Options
|
ToJaRo
Groupie
Joined: 20 April 2005
Location: United States
Status: Offline
Points: 158
|
Post Options
Thanks(0)
Quote Reply
Topic: MOD REQ: Previous 10 Topics and Upcoming Calendar Posted: 23 November 2007 at 12:33am |
Currently my site is a forum only. I want to make a Home Page that sits outside of the forum where I can put a blog, articles, etc. On that page I am wanting to put the last 10 topics and the upcoming calendar events embedded into sections of the site. I have searched and read the topics regarding the last 10 posts but I have not gottent that code to work, I even tried borg's /extra/recent_forum_posts.asp but received an error. I did not find anything regarding code for listing the upcoming events on the site. Can anyone assist me with this? I would greatly appreciate it. I can make my way around asp but I am still a 'Rookie' when it comes to coding from scratch.
Thanks in advance!
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 23 November 2007 at 8:31am |
|
At present an a XML HTTP API is being worked on for Web Wiz Forums 9.50 which will allow you to interact with Web Wiz Forums from other sites, programs, web apps, etc.
You use the HTTP protocol to send a method to the API, it then returns the results in XML format.
You will be able to in ASP and ASP.NET use Microsofts HTTPXML object to interface with the API to get things like the last 10 posts, calendar events, add new users, suspend users, delete users, etc.
|
|
|
 |
ToJaRo
Groupie
Joined: 20 April 2005
Location: United States
Status: Offline
Points: 158
|
Post Options
Thanks(0)
Quote Reply
Posted: 23 November 2007 at 1:36pm |
Great! I will wait for that release then! Will there be code examples, or actual code to paste onto the HTML homepage or are you just creating the avenue for those MOD's?
Also, if I may ask, do you anticipate the update being done in 2007 or will it be released in the 1st quarter of 2008?
Thanks again, borg!
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 23 November 2007 at 2:19pm |
|
When it first comes out it will be left up to you to write the code to work with the API, but hope to be able to produce some example code.
It will work in the way many web applications use XML API's so shouldn't be hard to track down some example code on Google.
The API development is going quite well, so are hoping to have a release within the next couple of weeks, but actually hoping to have 9.50 complete by the end of next week.
|
|
|
 |
Tammi
Newbie
Joined: 30 October 2007
Status: Offline
Points: 19
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 November 2007 at 1:33am |
I might offer a similar solution I offered someone else here....
I've been able to use this RSS2HTML aggregator to display RSS feeds of forum contents on the home page of the site I'm working on:
http://www.bytescout.com/how_to_display_rss_using_asp.html
As long as you establish a forum category that will serve exclusively as your "blog", you can use WWF's RSS capability to display your writings on your home page. An additional bonus is this will also provide a very easy way to encode a "Discuss This Article" link to your forum entry. I've had to edit some of WFF's files to eliminate some redundant (or unnecessary) phrases in the RSS feed's "Description" of each entry, but once finished, the "blog entries" on my front page now look like this:
Forum Integration Complete! <-- (Removed forum category name. This text pulled from forum post's subject line.) Author: Tammi Published: 21 Nov 2007 <--- (Changed from "Posted:" to "Published:" and removed time stamp.)
at 5:47pm
Subject:Forum Integration Complete! Web site and forum are fully integrated! All should work seamlessly by now.
Discuss This Topic
| In addition, the RSS aggregator also allows you to control how many previous entries to display, and you can include as many feeds on a page as you wish (say, if you wanted to use WWF's Calendar to display the next 5 upcoming events on your home page).
Edited by Tammi - 24 November 2007 at 1:46am
|
 |
freakyfred
Groupie
Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 November 2007 at 11:52am |
|
very simple example...
<%
Response.Buffer = True Dim objXMLHTTP, xml
' Create an xmlhttp object: Set xml = Server.CreateObject("Microsoft.XMLHTTP") ' Or, for version 3.0 of XMLHTTP, use: 'Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
' Opens the connection to the remote server.
xml.Open "GET", "http://website.com", False
' Actually Sends the request and returns the data: xml.Send
Response.Write xml.responseText
%>
|
 |