Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MOD REQ: Previous 10 Topics and Upcoming Calendar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MOD REQ: Previous 10 Topics and Upcoming Calendar

 Post Reply Post Reply
Author
ToJaRo View Drop Down
Groupie
Groupie
Avatar

Joined: 20 April 2005
Location: United States
Status: Offline
Points: 158
Post Options Post Options   Thanks (0) Thanks(0)   Quote ToJaRo Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
ToJaRo View Drop Down
Groupie
Groupie
Avatar

Joined: 20 April 2005
Location: United States
Status: Offline
Points: 158
Post Options Post Options   Thanks (0) Thanks(0)   Quote ToJaRo Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Tammi View Drop Down
Newbie
Newbie
Avatar

Joined: 30 October 2007
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tammi Quote  Post ReplyReply Direct Link To This Post 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:
Quote
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
Back to Top
freakyfred View Drop Down
Groupie
Groupie


Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote freakyfred Quote  Post ReplyReply Direct Link To This Post 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
 


%>

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.