Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListUDT and SyndicationUDT and Syndication
Previous
 
Next
New Post
9/3/2007 3:35 AM
 

Can someone please tell me more about UDT and how it implements the built-in module syndication. I would like to use the syndication method to make the UDT data available. Specifically if I use a custom XSLT on my UDT module what will the module return per record as the RSS description?

 
New Post
9/3/2007 4:56 AM
 

DotNetNuke built in syndication is based on iSearchable, that gets  passed over the text of all visible text columns.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/4/2007 1:18 PM
 

Thanks, but that's not exactly what I am seeing.

For testing purposes I added a simple UDT with on text column called feed. In that column I put the text of a URL to a feed. When I syndicate the UDT module I don't get any data. This is the same result I get when trying with a more complicated table. Text fields that had URL data in it did not show up. Does the Syndicate function have logic that strips out things?

Plus the Syndicate function separates the column data with bullets.

I am looking for a way to Syndicate the data from a UDT Yahoo Pipes.

 
New Post
9/4/2007 2:04 PM
 

Not all data types are exported, AFAIR URL is one of it. you need to modify iSearcheable implemetation in UserDefinedTableController, to modify this.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/4/2007 3:14 PM
 

ahawes,

The following code returns the XML data as stream to EVERYBODY:
Override ShowXml.ashx, it will work directly if you are running UDT inside DNN4.x. No compilation or VS needed!
As this opens the complete data to every UDT, and that's why this will never be part of an official release:

<%@ WebHandler Language="vb" class="ShowXmlToEverybody" %>
Imports DotNetNuke
Imports DotNetNuke.Security
Imports System.Web
Imports System.Web.UI.WebControls
Imports System.Web.UI
Imports DotNetNuke.Modules.UserDefinedTable

Public Class ShowXmlToEverybody
        Implements System.Web.IHttpHandler

Public ReadOnly Property IsReusable() As Boolean Implements System.Web.IHttpHandler.IsReusable
    Get
        Return True
    End Get
End Property

Public Sub ProcessRequest(ByVal context As System.Web.HttpContext) Implements System.Web.IHttpHandler.ProcessRequest 
   Try
        Dim portalSettings As Entities.Portals.PortalSettings = Entities.Portals.PortalController.GetCurrentPortalSettings

        If (context.Request.QueryString("tabid") Is Nothing OrElse context.Request.QueryString("mid") Is Nothing) OrElse Not (context.Request.IsAuthenticated) Then Return
        ' get TabId
        Dim TabId As Integer = -1
        If Not IsNothing(context.Request.QueryString("tabid")) Then
            TabId = Int32.Parse(context.Request.QueryString("tabid"))
        End If

        ' get ModuleId
        Dim ModuleId As Integer = -1
        If Not IsNothing(context.Request.QueryString("mid")) Then
            ModuleId = Int32.Parse(context.Request.QueryString("mid"))
        End If

        Dim userInfo As userInfo = UserController.GetCurrentUserInfo

        Dim settings As Hashtable = portalSettings.GetModuleSettings(ModuleId)
        Dim moduleInfo As Entities.Modules.ModuleInfo = New Entities.Modules.ModuleController().GetModule(ModuleId, TabId)

        Dim ds As DataSet = New UserDefinedTableController().GetDataSet(ModuleId, TabId, userInfo, True)
        Dim UdtController As New UserDefinedTableController
        ds.Tables.Add(UdtController.Context(moduleInfo, userInfo, CStr(context.Request(Definition.QueryStringParameter)), _
                      cstr(settings(SettingName.SortField)), cstr(settings(SettingName.SortOrder)), CStr(settings(SettingName.Paging))))
        context.Response.ContentType = "Text/Xml"
        ds.WriteXml(context.Response.OutputStream)

    Catch ex As Exception
        context.Response.Write("Not defined")
    End Try

End Sub
end Class
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListUDT and SyndicationUDT and Syndication


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out