Is it possible with RSS?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vikassawant
    New Member
    • Mar 2009
    • 27

    Is it possible with RSS?

    Hi,
    I have a query.

    My project structure is as fallow :

    Suppose there is one main domain like
    http://www.xyz.com with its own database xyz

    There is different sub domains for this like http://abc.xyz.com with it's own database like abc_xyz.

    I want to display some records from http://abc.xyz.com like news which are daily updated on main site xyz.

    Is it possible through RSS feeds?

    Is there any other way through which I can do this task easily.My requirement is whatever daily updations done on sub domain will be reflected on main site page on which information about that sub domain is displayed.

    Please help me if you have any solution.

    Eagerly waiting for your reply.

    Thanks,
    Vikas.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    Originally posted by vikassawant
    Is it possible through RSS feeds?
    RSS feeds have some totally different intention, they are used for displaying update information (like new articles or news).

    Originally posted by vikassawant
    Is there any other way through which I can do this task easily.My requirement is whatever daily updations done on sub domain will be reflected on main site page on which information about that sub domain is displayed.
    every server side language should be able to do so.

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      Hey.

      You can do this, yes, but it is a rather long way around this problem.
      Couldn't you just give the main site access to the database being used by the sub-domain?

      If you do go down this RSS path, you might as well make this easier on yourself and use a simpler XML format. RRS is, after all, just XML tailored for a specific purpose.

      Having a server-side script output the daily new in simple XML format shouldn't be hard to do, and the main site could easily read that.

      But, like I say. Giving the main site access to the database would be simplest of all.

      Comment

      • vikassawant
        New Member
        • Mar 2009
        • 27

        #4
        Hi,

        Thanks for your reply.

        I have solved this problem by Ajax. Through Ajax I am calling a page where I connected to sub-domain database and fetch record from Tables and returns to main site page.

        Is it right way?Or this may increases DB traffic?

        Comment

        • Atli
          Recognized Expert Expert
          • Nov 2006
          • 5062

          #5
          That sounds OK to me.
          Whether or not it creates excess DB traffic depends on your code and how much traffic your server can handle.

          I can't see why it would be a problem tho.

          Comment

          Working...