Results 1 to 15 of 15

RSS Modifications.

This is a discussion on RSS Modifications. within the Template Modifications forums, part of the vBulletin SEO Discussion category; Is possible to implement rss modification following way ? Code: http://www.myforum.com/forumid.xml or Code: http://www.myforum.com/forumid.rss2 or Code: http://www.myforum.com/forumid.rss or Code: http://www.myforum.com/forumid. ...

  1. #1
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1

    Question RSS Modifications.

    Is possible to implement rss modification following way ?
    Code:
    http://www.myforum.com/forumid.xml
    or
    Code:
    http://www.myforum.com/forumid.rss2
    or
    Code:
    http://www.myforum.com/forumid.rss
    or
    Code:
    http://www.myforum.com/forumid.js
    this should be easier compared with stock options

    how can we change the url of threads appearing in rss ? now it displays following url.
    http://www.myforum.com/18310-new-post.html</link>

    I would like to remove -new-post from above link.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    you can try the following Custom Rewrite Rule for this:
    Code:
    'external\.php\?type=XML&forumids=(\d+)$' => 'f-$1.xml'
    'external\.php\?type=RSS&forumids=(\d+)$' => 'f-$1.rss'
    etc.
    OR using one CRR for all types:
    Code:
    'external\.php\?type=(\w+)&forumids=(\d+)$' => 'f-$2.$1'

    I would like to remove -new-post from above link.
    Since vBulletin inserts the URLs like showthread.php?t=xx&goto=newpost in th feeds, vBSEO rewrites is as defined.

  3. #3
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1
    Added this lines
    Code:
    'external\.php\?type=(\w+)&forumids=(\d+)$' => 'f-$2.$1'
    to my custom rewrite rules, this is my forum setup.
    Code:
    http://www.xyz.com/forum12/
    http://www.xyz.com/forum14/
    what should be the rss format now ?

    Modified my external.php file and removed &amp;goto=newpost from rss, rss1 rss2
    did not want to have different links under rss

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    your rss feed URL format is
    Code:
    http://www.xyz.com/forum14/
    (where XX is a forum ID).

  5. #5
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1
    hi oleg,
    I am sorry but we have our forum urls setup this way-
    Code:
    www.xyz.com/forum1/
    www.xyz.com/forum2/
    threads configured this way-
    Code:
    www.xyz.com/forum2/1.htm
    www.xyz.com/forum2/2.htm
    www.xyz.com/forum1/3.htm
    with the rss url modification provided above -
    Code:
    'external\.php\?type=(\w+)&forumids=(\d+)$' => 'f-$2.$1'
    opening
    Code:
    http://www.xyz.com/forum14/
    just takes me to my forum.

    I need to acheive following:
    Code:
    http://www.xyz.com/forum14.rss
    http://www.xyz.com/forum14.rss2
    http://www.xyz.com/forum14.xml
    glad to see your quick response

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    if you want to rewrite rss link from
    Code:
    http://www.xyz.com/external.php?type=RSS&forumids=14
    to
    Code:
    http://www.xyz.com/forum14.rss
    you can use this CRR:
    Code:
    'external\.php\?type=RSS&forumids=(\d+)$' => 'forum$1.rss'

  7. #7
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1
    Hi Oleg,
    that works great

    this are my crrs -
    Code:
    'external\.php\?type=rss&forumids=(\d+)$' => 'forum$1.rss'
    'external\.php\?type=rss2&forumids=(\d+)$' => 'forum$1.rss2'
    'external\.php\?type=rss1&forumids=(\d+)$' => 'forum$1.rss1'
    'external\.php\?type=xml&forumids=(\d+)$' => 'forum$1.xml'
    Code:
    only www.xyz.com/forum14.xml wont work any idea about this ?
    
    What will be the url for my main forum www.xyz.com ?

  8. #8
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1
    please help with my question

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    only www.xyz.com/forum14.xml wont work any idea about this ?
    Which error do you get?

  10. #10
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1
    hi oleg,
    I am testing the feeds on feedvalidator.org, tests shows following results:
    Code:
    www.xyz.com/forum14.rss2
    This is a valid RSS feed

    Code:
    www.xyz.com/forum14.xml
    Sorry This feed does not validate.
    line 2, column 0: Undefined root element: source
    <source>

    I would also like to know how can i setup feed url for the entire forum ?
    for example
    Code:
    www.xyz.com/external.php?type=rss2
    what should this dynamic url written with ?

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hi,

    Sorry This feed does not validate.
    line 2, column 0: Undefined root element: source
    <source>
    Is it validated with original xml feed URL?
    I would also like to know how can i setup feed url for the entire forum ?
    You can use this one:
    Code:
    'external\.php\?type=rss2$' => 'forum.rss2'

  12. #12
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1
    Is it validated with original xml feed URL?
    getting same error as posted above when validating original url..

  13. #13
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    I see, so this either vBulletin or validator issue.

  14. #14
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1
    hi oleg,
    this is happening only with my forum with vbseo installed, other forums (non-vbseo) are validating fine.. hence still bugging you :(

  15. #15
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    with feedvalidator.org, I'm getting the same error message for vBulletin.org xml feed, for instance:
    http://www.vbulletin.org/forum/external.php?type=xml&forumids=166

    which forum xml feed is validated correctly for you?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •