Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Archiving feauture
#1
Since issues with www.python-forum.org I was thinking yesterday for some archiving feature. I've seen this in a radio forum and is a nice feature. By my opinion. It was able to archive the whole forum, a subforum or even the list of user threads in the user profile. Just have it as a button somewhere in the page and it archives all with in the category. As xml for example. Don't remember the other file format.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#2
@[metulburr] would you like to comment on this?
Reply
#3
Quote: I've seen this in a radio forum and is a nice feature. By my opinion. It was able to archive the whole forum, a subforum or even the list of user threads in the user profile. Just have it as a button somewhere in the page and it archives all with in the category. As xml for example. Don't remember the other file format.
Could you specify this more?
Recommended Tutorials:
Reply
#4
What the button was doing is to download archive for listed threads or subforums. Depends of what forum or subforum, or a result of find is opened. For example now I am in Python Forums › Forum & Off Topic › Board so if I click on the button I will download all "Board" category from the database as a xml file. If I am in the top page I will able to download all forum as a big single xml file. If I search for a 'parsing html' and I have listed all results I will be able to download as xml all that list. Directly from the database I presume.

I can't point to the forum where I have seen this. They were moved to Facebook
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#5
Oh your talking about this forum?  :lolsign:

I thought you were talking about the old forum. I was gonna say we dont have access. 

You can generate an XML RSS at the bottom link of the index page, for a per forum, all forums, specfiic forums basis.
http://python-forum.io/misc.php?action=syndication

There is also a lightweight feature down there too
http://python-forum.io/archive/index.php
Recommended Tutorials:
Reply
#6
(Oct-04-2016, 09:09 PM)metulburr Wrote: You can generate an XML RSS at the bottom link of the index page, for a per forum, all forums, specfiic forums basis.
Doesn't seems like the same I am talking about. However the second link returns a html page and one can use:
wget -rpk -l 200 -np -c -U Mozilla http://python-forum.io/archive/index.php
ot actualy download all the forum if he/she wants.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#7
wget -r -O filename.xml http://python-forum.io/syndication.php?fid=&type=atom1.0&limit=15
and change the URL to whatever URL you are given based on the  RSS definitions. 


@[snippsat]

hmmm that codebox is escaping the URL
:/
http://python
http://python-forum.io/syndication.php?f...0&limit=15
Recommended Tutorials:
Reply
#8
Yes i see it happens when url is in middle of that wget command,if start with url it's okay.
Not sure why yet,it guess that http:// should be a link.
It's not a problem that will happens often,
all code posted til now on site looks okay.

Using ouput tag will fix these wget command for now.
Output:
wget -r -O filename.xml http://python-forum.io/syndication.php?fid=&type=atom1.0&limit=15
Reply
#9
I think the quote tag or even plain text for "code" like this is ok
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020