Community Forum

User info

Welcome, Guest! Please login or register.


You are here » Community Forum » Problems with the Forum » RSS feeds are still parse the html code


RSS feeds are still parse the html code

Posts 1 to 17 of 17

1

I tried to use these two js codes
http://forumfiles.ru/files/0017/f8/27/49848.js
http://forumfiles.ru/files/0018/02/f4/56198.js
(The html post text will not be parsed like regular posts and thus may contain HTML)

in postpage is WELL
http://sj.uploads.im/t/l9D5b.png

post preview is WELL
http://sj.uploads.im/t/4GMcl.png

BUT the problem is found in RSS Feed
export.php?type=rss&fid= RSS feeds are still parse the html code
http://sk.uploads.im/t/65q0E.png

what code I should add so that the RSS does not parse the html code ???

Last edited by kami (2017-04-26 21:22:20)

0

2

I have a similar problem @kami
On my forum http://wcoders.cf i use rss to display recent posts on the homepage but the rss isnt displaying all feeds i have over 17 subforums but only less than 10 is displayed how do i solve this problem

0

3

jonath45 wrote:

I have a similar problem

Do you use similar script like this:

Hidden text:

To view hidden text please login or register.

If am not mistaken, full scripts ever published by one of the admin

Last edited by kami (2017-05-26 13:56:26)

0

4

@kami please check the forum
The problem is not in the script but my rss
http://wcoders.cf/export.php?type=rss&fid=17 shows no data meanwhile there are posts on it

0

5

jonath45 wrote:

@kami please check the forum
The problem is not in the script but my rss
http://wcoders.cf/export.php?type=rss&fid=17 shows no data meanwhile there are posts on it

Already checked, my forum olso got the same in /export.php?type=rss&fid=17 (Just taking the most recent one [perhaps based on the newest post time setting] or NO posts or No data)

But will be displayed if only:  http://wcoders.cf/export.php?type=rss

Added after 46 minutes 14 seconds:
Other causes
There are no posts in the forum ID 17 ->>>http://wcoders.cf//viewforum.php?id=17 (perhaps  forum ID 17 is not created yet)
If the forum ID 17 is created then the rss feed is /export.php?type=rss&fid=17

Last edited by kami (2017-05-26 14:58:32)

0

6

ok thanks

0

7

jonath45 wrote:

ok thanks

If you want to display the recent post on index page... perhaps this script is olso good:

Hidden text:

To view hidden text please login or register.

0

8

Thanks  @kami but the quote button isnt working can you put the  code in textarea

0

9

read this Javascript Extensions

0

10

kami wrote:

what code I should add so that the RSS does not parse the html code ???

There's no way to parse the HTML code in posts in RSS because it is parsed by the script, not by forum engine.

jonath45 wrote:

i use rss to display recent posts on the homepage but the rss isnt displaying all feeds i have over 17 subforums but only less than 10 is displayed how do i solve this problem

The RSS feed displays posts only from forums that are opened for Guests (Administration - Forums - Edit). If the forum is not visible for Guests, it won't be showed in the RSS feed

0

11

Thanks  now i know whats wrong

0

12

Just droping a sneak peak
http://mini.s-shot.ru/600x1500/?wcoders.cf

Is it possible to apply paging to the recent posts?

Last edited by jonath45 (2017-05-31 17:10:42)

0

13

jonath45 wrote:

Is it possible to apply paging to the recent posts?

The recent posts with pagination are displayed in "Active topics" (example - http://forum.mybb.us/search.php?action=show_recent), I think it would be better to decrease the number of displayed topics on the home page, and maybe to decrease font size (a bit).

0

14

ok but displaying on index page can it be done

0

15

jonath45
Maybe it will be better trying to get the recent topics from http://wcoders.cf/search.php?action=show_recent (through script) to display on index page?

0

16

Alex_63
Can you drop the script here.

0

17

jonath45
It is not written yet ;) But in "Active topics" there are only the last topics updated in the last several days, so if there's no updates, there are less than 30 topics there, so it's not the best variant... And if we get the list from RSS feed, it's difficult to do pagination for it.
If we make pagination for your variant(through RSS)... How much topics should be there on each page? and in all the table?

0


You are here » Community Forum » Problems with the Forum » RSS feeds are still parse the html code