youngmon/atlassian-qna huggingface dataset:
How to get the list of last 300 pages that have been changed?
Asked by Alex Bobrovski:

Hi,

I'm going on vacation. When I come back after two-week holidays, I'd like to get the list of all the pages that will have been changed.

The macro {recently-updated} provides about 50 last changes, that is the maximum.

How to get the looooong list of all the user's commits?

Thanks!


Answers:
author: Lis Riba
body: You want updates for ***all*** spaces?

Before vacation, subscribe to daily updates \[Your name \> Settings \> Email\]

You will then receive daily emails listing all changes (that you have permission to view)

It's not precisely the same format as {recently-updated}, but will list all the changes that you've missed.

If you just want changes in a particular space, then start watching that space, and you can compile the emails when you return.

Hope this helps, and have a nice vacation.


author: SarahA
body: Hallo Alex

Arun and Lis have given the two answers that I would recommend. However, I'd recommend that you use them both. :) So:

* Add yourself as a watcher of the spaces that interest you.
* Subscribe to an RSS feed for the spaces that interest you.

The reason for doing both is this:

* If people check the "Minor change" checkbox when they edit a page, their changes will not appear in your notifications from the "watch" option.
* The RSS feed does not report on deleted pages, only on added and updated pages.

I hope this helps!

Cheers, Sarah


author: abhalla
body: I like to use my RSS reader to track space updates across an entire Confluence instance. It's pretty easy to create an RSS feed link within Confluence by using the top-level Browse menu and click on "Feed Builder." From there, you can select the type of updates you want to track, which spaces, and if you click on "Advanced Options," you can specify the number of entries in the feed. For performance reasons, the maximum limit is 200 entries, which may be suit you fine when you come back.

If you want to ensure you track *everything* that changed while you're away, you can plug the generated feed link into your feed reader and have the reader refresh the link frequently (daily or every few hours).

cheers,

Arun

comments: author: Alex Bobrovski
body: Thans a lot, guys.

Thank you very much!

All advice is really helpful.


author: MatthewC
body: You could use a basic SQL Query (assuming SQL Server):

> SET ROWCOUNT 300;
>
> select content.title, content.lastmodifier, content.lastmoddate , spaces.spacename, spaces.spacekeyfrom content, spaces where contenttype='PAGE' and content.spaceid=spaces.spaceid order by lastmoddate desc

If you're using MySQL you could use the Limit keyword instead of setting the rowcount
Is there any text editor that supports wiki markup highlighting?
Asked by Tobbi Gudmundsson:

Looking for a text editor on Mac (and Windows as well for my poor suffering colleagues) that supports wiki markup syntax highlighting to ease page edits. This would of course have to support the Confluence wiki markup.

Thanks!


Answers:
author: Radu Dumitriu
body: Look here: [http://en.wikipedia.org/wiki/Wikipedia:Text_editor_support\</p\<\>\>](http://en.wikipedia.org/wiki/Wikipedia:Text_editor_support%3C/p)

[Vim rules!](http://en.wikipedia.org/wiki/Wikipedia:Text_editor_support%3C/p)

comments: author: Tobbi Gudmundsson
body: Thanks for that Radu. I had looked into Vim (MacVim on my side) but gave up quickly as I suspected it didn't have what I needed. It is time for another look it seems!


author: Nic Brough -Adaptavist-
body: I've not seen one - our users simply use Confluence.

Be warned though - Confluence 4 is binning wiki markup (with some back-porting stuff to enable you to type it and have it automatically formatted to the new structure, and macros to display it if you must keep older stuff in markup)

comments: author: Tobbi Gudmundsson
body: Yeah, I like the markup editor within Confluence as well but when working on long markup heavy pages it is easy to get lost, effectively slowing the editing process down (a complaint point which I believe contributed to the markup editor being binned).

Not too happy about markup going away, regardless of how great the new editor will be. But I guess I'm just an old dog that doesn't like change ;)


Tags: editor

markup

syntax-highlighting

text
Labelling multiple pages in a single action (thru UWC or confluence)
Asked by Lis Riba:

I'm using the UWC converter to import several hundred pages (a glossary) and I want to assign the same tag to them all.

The documentation on UWC's Label Framework seems primarily guided towards coding and editing the JAR - something I'd rather not do.

Is it possible to do this through modifications to the .properties file, or even independently of UWC?

I see several ways something like this could be done, but don't know how to implement it:

* Add a line to the properties file which assigns label "foo" to all imported pages
* Add some kind of label field to all the to-be-converted files which says "label:foo" and add a line to the properties file which converts that string to the label
* Import/convert all the pages without labels, and then run some macro within Confluence to label all the pages. \[I will be importing all the pages to a new dedicated space, but will then move them to an existing space which will contain other pages.\]

Any suggestions for how to do this?


Answers:
author: Lis Riba
body: I ended up using the Confluence CLI (Command-Line Interface) - ***extremely*** useful tool, that.


author: Mert Karada?l? _ K?stebek Teknoloji _
body: Hi,

You could do it with Label Manager for Confluence plug in.[](https://marketplace.atlassian.com/plugins/com.kostebekteknoloji.plugins.confluence.confluence-label-manager)<https://marketplace.atlassian.com/plugins/com.kostebekteknoloji.plugins.confluence.confluence-label-manager>  
You could search for similar labels in a space and then merge them into one standard label.  
You could also do bulk operations like appending , adding and removing labels.  
Documentation is here:[](http://www.confluence.kostebekteknoloji.com/display/PLUG/Label+Manager+for+Confluence)<http://www.confluence.kostebekteknoloji.com/display/PLUG/Label+Manager+for+Confluence>  
Regards,


author: Martin Cleaver
body: Check out Ad hoc Canvas' List functionality.

<http://www.adhoccanvas.com/features/>

Disclosure: I work with Comalatech.


author: Laura Kolker
body: There isn't a facility in place (in the UWC) to automatically add a label to every page using a property only. That being said, you could try leveraging a combination of a UWC property with adaptavist's [add-label macro](https://www.adaptavist.com/display/AtlassianConfluence/add-label+macro).

Something like:

```
mywiki.1234.addalabel.java-regex=(.)${replace-with}$1NEWLINE{add-label:foo}
```

This would add a newline and your addlabel macro to the end of every page


Tags: label

universal-wiki-converter
Are you planning to come up with iPad 7 iPhone apps for confluence in order to allow fast iWork document exchange?
Asked by Hans-Peter Gier:

Are you planning to come up with iPad 7 iPhone apps for confluence in order to allow fast iWork document exchange?


Answers:
author: Hans-Peter Gier
body: I never asked this question.

comments: author: Nic Brough -Adaptavist-
body: Someone using your account did. You might want to change the password or check with your colleagues


author: Hans-Peter Gier
body: might well be, as we outsourced our infrastructure to a partner company,  
I was just wondering because the question dated from Jul 2011 ... :)


author: Nic Brough -Adaptavist-
body: I think Atlassian are going back over old unanswered questions recently, picking up some really old ones without answers.


author: AlysonA
body: Hi Hans,

There isn't any plans on that as far as I'm aware of. You can probably raise a feature request at <https://jira.atlassian.com> regarding this matter as such we can evaluate the possibility of including this in the future.

Cheers.


Tags: moderators
PDF export creates bookmarks at end of prior section
Asked by Cassandra Targett:

We create documentation for our product in Confluence and publish it online in a publicly available Confluence install. For those customers who may not have access to it or who prefer doc in book form, we publish the doc in a PDF (200+ pages long). We've customized the PDF stylesheet so it forces a new page for every h2 and h3 heading level. The bookmarks created within the PDF, however, seem to jump the user to the end of the prior section/chapter, which is sometimes a half a page before the new page starts. So, it appears to users that the bookmark jumped them nowhere - if they scrolled down, they'd see the next chapter but it's not an ideal user experience.

My guess is that the PDF sets the bookmark for the section and then forces the new page, but I have no way of knowing that or how to change it. Anyone have any suggestions for how to fix this (besides paying for the Scroll exporter)?

Thanks in advance -

Cassandra


Answers:
author: Cassandra Targett
body: I also tried the page-break macro, but tried it at the beginning of the real one, and it didn't work at all. I didn't even think of trying page-break-after at the end of the preceding page.

I mostly solved it by buying the Scroll PDF Export tool. It's really nice once you figure out all the options, and it handles the page breaks \& bookmarks much better than the default PDF export (although we're still using the one in 3.4.3, so perhaps it has improved).


author: Steffen Heller
body: I had the same problem when I tried automatic pagebreaks.

I now add pagebreaks manually with a little makro. But even this only works when you add the makro to the end of the preceding page instead of the beginning of the real one (and use "page-break-after" instead of "page-break-before").

This won't work as a solution for 200+ pages documents but it probably shows that your interpretation of the problem is correct.


Tags: export

pdf
Confluence + Shibboleth + IIS Installation and Configuration - Where do i start?
Asked by Bonnie McDonough:

Hello,

I have previously implemented confluence with tomcat and it was worked great.

I have now been tasked with creating a totally new environment and Shibboleth'ing the Confluence Installation.

I'm thinking of doing on IIS instead of Apache because i know nothing about Apache, and a little about IIS.

I'm thinking the process would be confluence on iis and then shibboleth on iis and then the confluence shibboleth authenticator.

Does that sound right?

Also i'm open to any advice, help, etc because i know nothing about shibboleth and what i'm reading online is above my current knowledgebase.


Answers:
author: Bonnie McDonough
body: Sorry we abandoned it when we couldn't figure it out :(

comments: author: MICHAEL O'Neill
body: Oooph. Sorry to hear that. We're looking at shibboleth as well.


author: MICHAEL O'Neill
body: Did you ever make your way through this? Can you share what you learned?


author: MICHAEL O'Neill
body: -deleted-


Tags: iis
Is it possible to import multiple Micrsoft Word documents as pages?
Asked by Rhyne Armstrong:

The Office Connector works great when you can add documents one at the time. But what about if you have nearly 1000 documents that you need to add as pages? Is there an easy way to do this?


Answers:
author: Richard Yale
body: You can attempt to use the Confluence Command Line Interface, but other than that I don't think so.

https://studio.plugins.atlassian.com/wiki/display/CSOAP/Confluence+Command+Line+Interface

comments: author: Matt
body: I too think that the CLI is your best bet. [See here](https://studio.plugins.atlassian.com/wiki/x/NoLSAw) for info about how to get CLI help, support, and fixes.


author: Rhyne Armstrong
body: CLI seems to work fine if the files are in .txt or HTML. Unfortunately, it doesn't properly parse the HTML that these files are marked up in due to being converted from a microsoft product.


author: Richard Yale
body: Word and HTML have never played nice. That's pretty much been the story for years and even more so recently with 2007. That's why Atlassian is pretty much remaking word inside of their Confluence 4.0. I can't wait till it is released.


author: Rhyne Armstrong
body: I don't mind taking a few more steps to get from where I started to a fairly-well laid out Confluence page. I am at a loss though how to get a .pst or MBOX to nice HTML.

The MBOX import to Confluence is great...except I want the mail as pages, not as email.


author: Renjith Pillai
body: 1. Write a small program in C# or VB to load each of the 1000+ word documents and save as 'HTML filterered'
2. This should save the files in pure html format (no office specific keywords)
3. Import them using confluence CLI


author: Jim Birch
body: There's a utility called message export that I've seen but haven't used that might do what you want. "Looks" ok, not free.

http://www.encryptomatic.com/messageexport/

If the html is messcrosofted there are ways of cleaning up discussed eg at

<http://stackoverflow.com/questions/67964/what-is-the-best-free-way-to-clean-up-word-html>

Also a nice little free windows utility called ssr.exe that you use in batch files to seacrch and replace in multiple files.

You could then CLI your html files into Confluence.
Performing searches in Confluence
Asked by Michele C:

We are using Confluence to document various support/error issues. As a page title, I have the following:  

An error occurred in starting the session - Login failed for user 'IIS APPPOOL - DefaultAppPool'.  

The actual error has a slash. I cannot use a \\ in the page name due to page character restrictions. In the page's content, I am able to specify the exact error:  
An error occurred in starting the session - Login failed for user 'IIS APPPOOL\\DefaultAppPool'.  

When performing a search, does Confluence only search on the page title? Someone on our team tried to do a search on 'IIS APPPOOL\\DefaultAppPool'. No pages were found.   

Is there a way to search on the page's content rather than the title? I do not understand how labels are used. Could adding labels help in the search? I was able to add:   

'IIS  

APPPOOL\\DefaultAppPool'  

<br />

When performing a search, however, the topic was still not found.  
Are there any existing feature requests to search on the page content?  

<br />

Thank you for your help.


Answers:
author: Michele C
body: Sorry, about the red. It was red when I edited the question. I found out now how to change it.

Thank you. Your solution worked!


author: Nic Brough -Adaptavist-
body: ugh, red, not nice to read

Try IIS APPOOL\\\\Defaultapppool - the slash may be being interpreted as a control character. The page content is already being searched, it's just not finding it because of the \\


Tags: search
JIRA 4.3 and Confluence 3.5 on same server. Change path still needed?
Asked by Rodrigo Arruda:

Installing JIRA(4.3) and Confluence(3.5) standalone still needs to change the context path to right login?

Reference: [http://confluence.atlassian.com/pages/viewpage.action?pageId=229183296\</p\<\>\>](http://confluence.atlassian.com/pages/viewpage.action?pageId=229183296%3C/p)


Answers:
author: Daniel Hebb
body: I have both Jira and Confluence running on the same server. The Jira context is /jira and the confluence context is /confluence, and they work perfectly on the same system. Does that answer your question?

comments: author: Rodrigo Arruda
body: Yes, but context is not optional, right?


author: Andrei [errno]
body: we are running all Atlassian tools on the same (capable) server with no issues - the key is to put an Apache proxy in front of them and route to different tomcats (different ports) depending on a request:

* example.com/jira -\> example.com:8080
* example.com/confluence -\> example.com:8081


Tags: jira
Encryption and security
Asked by Jasmine Dhillon:

Hi there

I am currently looking at various options for Knowlede sharing in my organisation which needs all its data to be encrypted/super secure. What are the security measures of Confluence as to say Intralinks or PGP? Is the secuirty comparable?


Answers:
author: Radu Dumitriu
body: Confluence is ideal for paranoia-free organizations. The entire philosophy of Altassian is centered around the idea of openness (mind, business and software alike). Confluence is all about collaboration and it's for people who have not much too hide - not naked, though.

Vitaly above is right, but in my opinion you should revise your security concerns versus the need for collaboration and see if Confluence really fits you.


author: VitalyA
body: Jasmine,

The products you mention are for data transfer rather than content management, so comparison is not possible.

Confluence does not encrypt stored content. More information on Confluence security is available here -

<http://confluence.atlassian.com/display/DOC/Confluence+Security>


Tags: security
Is there a way to import Outlook "Public Folders" into Confluence as pages?
Asked by Rhyne Armstrong:

We have over 1000 knowledgebase articles in Outlook public folders that I would like to import into Confluence as pages. I can export as CSV, RTF, etc, but can't figure out how to import those files into Confluence more than one at a time.

Thanks!


Answers:
author: Bob Swift (personal)
body: [Confluence Command Line Interface](https://studio.plugins.atlassian.com/wiki/display/CSOAP) should help :). Use **--action addPage**. It will not help with the formatting though.

comments: author: Rhyne Armstrong
body: Thanks Bob. I am looking through the information for the Interface and having trouble figuring out how to specify the source directory for the addPage action.


author: Bob Swift (personal)
body: **--file** is the parameter you need to specify. You will need to script it to get all files in a directory for instance. Another option is: **--action loadFiles** which will work over a directory automatically.


author: Rhyne Armstrong
body: I must be doing something wrong. I was able to add the files as attachments using --action loadFiles, but not create pages from them. I will try converting to HTML first as this was with RTF files.


author: Bob Swift (personal)
body: mime type of text/html or text/plain will get get pages. Extensions like .txt for instance will be added as pages.


author: Rhyne Armstrong
body: It looks like the conversion tool is setting the mime type in a non-standard manner. It can be read by Firefox, but none of the content is added to the pages that are created. Is there an example of this syntax anywhere? I could just have something wrong.


author: Rhyne Armstrong
body: They are all .html I will try converting to .txt to see if it helps.


author: Bob Swift (personal)
body: What are the extensions on the files? It is likely you need to rename them to txt for instance.


author: Bob Swift (personal)
body: Create an issue at <https://studio.plugins.atlassian.com/browse/CSOAP> and attach a couple of example files (RTF and HTML).


author: Bob Swift (personal)
body: I thought I posted this comment earlier, but I don't see it now. Please create an issue and attach a couple of examples (HTML and text) and I will have a look. Normally you want text if possible as HTML gets wrapped in a HTML tag so it displays, but not good for edit.


author: Rhyne Armstrong
body: The command line is adding the files as \<directory name\> - \<Title\>.txt with nothing in the content. I am using:

confluence --space "Knowledgebase" --action loadFiles --file "d:\\test"
Port Change to 80 for WebDAV
Asked by David Soldan:

Hello,

I have to change the listen Port of my Confluence to "80" so i can use WebDAV to transfer files to my Confluence.

So in the server.xml file i changed the connector port to 80 while i let the Server Port on 8000 and changed the port of the apache in the ports.conf from 80 to 8080. But this doesnt seem to work....

My Virtual host is also on \*:80 .

What do I do wrong?

Sorry for all this stupid questions, but i really started to work on such stuff!


Answers:
author: Richard Yale
body: Do you have anything else running on the server? Like a website or sharepoint or anything like that? What happens if you are outside of the server and type in http:\\\\\<server name\>?
Space Size
Asked by HopeJ:

Is their any way to see the size of a confluence space, number of attachments etc.


Answers:
author: AlexH
body: Easiest way that I know of is to use direct SQL queries against the database.

1) Install the SQL and Cache plugins for Confluence  
2) Install the macro-security plugin for confluence and restrict SQL to admins only  
3) Configure a datasource in your \<install\>/conf/server/.xml config file with a read-only user that has access to the confluence database.  
4) Create a wiki page and add the markup to query and render the results directly in the wiki page:

#### This macro will render a table with three columns: \| page total \| space name \| space key \| {#toc-hId-1310871062}

```
{cache}
{sql:dataSource=confluenceread|output=wiki}
select count(distinct CONTENT.title) as "Pages", SPACES.spacename as "Space", SPACES.spacekey as "Key" from CONTENT, SPACES where CONTENT.spaceid IS NOT NULL and CONTENT.spaceid = SPACES.spaceid group by CONTENT.spaceid order by Pages DESC
{sql}
{cache}


```

#### This macro will render a pie chart and a table that displays the totals across you entire site for: Pages, Attachments, Comments, Mail, Drafts, and User Status. You should be able to modify the query to select only from specific spaces quite easily: {#toc-hId--1241285899}

```
{chart:title=Confluence Content|type=pie|displayData=true|width=500|height=300|dataOrientation=vertical|pieSectionLabel=%0% - %1%|legend=false|tables=content | attachment=^Confluence Content.png | attachmentVersion=replace}
{sql:dataSource=confluenceread|id=content}
select contenttype as Type, count(distinct CONTENT.title) as "Count" from CONTENT group by contenttype having Count > 0
union
select contenttype as Type, count(*) as "Count" from CONTENT where contenttype='COMMENT' group by contenttype having Count > 0
union
select "ATTACHMENTS" as Type, count(distinct title) as "Count" from ATTACHMENTS having Count > 0
order by Count DESC
{sql}
{chart}
```
URL file path is to long
Asked by HopeJ:

Occasionally when opening files this error occurs

A DDE error has occurred, and a description of the error cannot be displayed because it is too long. If the filename or path is long, try renaming the file or copying it to a different folder.

Understand this is a windows problem but does anyone know of a quick fix as it is not always consistant in number of characters. Windows say 220 but have known it to fail with 212?


Answers:
author: Juan Miller
body: You can try using LongPathTool software. It will help you resolve your specific problems regarding File name too long. Thank you.


author: Kurt Jackson
body: You can use "long path tool" program to solved this issue. this tool is very useful to solved this issue.


author: Richard Yale
body: Which version of Confluence are you using? in 3.5 they shortened the file paths.
Directories: locked myself out
Asked by Thomas Vlerick:

Hi, I did an upgrade our of confluence instance (3.1.1) to 3.5.7 on a test environment. I have added our LDAP configuration again after the update.

All went well until I changed the order of the directories used for authentication. I moved the LDAP above the internal directory and now I am unable to log in anymore. Apparently, something was still wrong in the LDAP config :D

Can I change the sequence of the directories somewhere in a configuration file? I did some searches on the system but cannot find anything related.


Answers:
author: Colin Goudie
body: Yep, you can change it in the database.

The table is cwd_app_dir_mapping

You want to change the list_index field

The other thing you can do is disable the LDAP directory (in the table cwd_directory) and then it will only use the internal Confluence directory

comments: author: Thomas Vlerick
body: Changing the sequence in the cwd_app_dir_mapping table and restarting Confluence did the trick. Thank you for that quick answer!


Tags: authentication

directory

ldap