Python Forum
Archiving feauture - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Board (https://python-forum.io/forum-26.html)
+--- Thread: Archiving feauture (/thread-274.html)



Archiving feauture - wavic - Oct-04-2016

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.


RE: Archiving feauture - micseydel - Oct-04-2016

@[metulburr] would you like to comment on this?


RE: Archiving feauture - metulburr - Oct-04-2016

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?


RE: Archiving feauture - wavic - Oct-04-2016

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


RE: Archiving feauture - metulburr - Oct-04-2016

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


RE: Archiving feauture - wavic - Oct-04-2016

(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.


RE: Archiving feauture - metulburr - Oct-05-2016

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?fid=&type=atom1.0&limit=15


RE: Archiving feauture - snippsat - Oct-05-2016

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



RE: Archiving feauture - wavic - Oct-05-2016

I think the quote tag or even plain text for "code" like this is ok